Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemory.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001456/0.001456, allocations: 116.7 kB / 17.17 MB, free: 5.719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001941/0.001941, allocations: 196.5 kB / 20.12 MB, free: 2.809 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.499/1.499, allocations: 225.6 MB / 248.5 MB, free: 3.637 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.06176/0.06176, allocations: 12.17 MB / 315.6 MB, free: 264 kB / 238.1 MB " [Timeout remaining time 180] Using package Modelica_DeviceDrivers with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemory,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemory,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 67.89 kB / 439.5 MB, free: 6.641 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2775/0.2795, allocations: 55.17 MB / 494.7 MB, free: 23.82 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemory): time 0.003726/0.2832, allocations: 2.721 MB / 497.4 MB, free: 21.7 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001175/0.2844, allocations: 0.7168 MB / 498.1 MB, free: 21.13 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001168/0.2845, allocations: 6.656 kB / 498.1 MB, free: 21.13 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000247/0.2848, allocations: 69 kB / 498.2 MB, free: 21.07 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001529/0.2849, allocations: 42.59 kB / 498.3 MB, free: 21.04 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Packaging/SerialPackager.mo:130:7-137:16:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.clear' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.clear'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Packaging/SerialPackager.mo:30:7-39:18:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.addReal' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.addReal'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Packaging/SerialPackager.mo:63:7-72:21:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.addInteger' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.addInteger'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Communication.mo:1206:7-1215:28:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.Internal.DummyFunctions.writeSharedMemory' contains a call to impure function 'Modelica_DeviceDrivers.Communication.SharedMemory_.write'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Packaging/SerialPackager.mo:74:7-84:18:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.getReal' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getReal'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Packaging/SerialPackager.mo:107:7-117:21:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.getInteger' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getInteger'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Communication.mo:1196:7-1204:27:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.Internal.DummyFunctions.readSharedMemory' contains a call to impure function 'Modelica_DeviceDrivers.Communication.SharedMemory_.read'. Notification: Performance of NFTyping.typeClassSections: time 0.000507/0.2854, allocations: 217.8 kB / 498.5 MB, free: 20.87 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003058/0.2857, allocations: 306.6 kB / 498.8 MB, free: 20.68 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002387/0.286, allocations: 123.6 kB / 498.9 MB, free: 20.61 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001213/0.2861, allocations: 147 kB / 499 MB, free: 20.52 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001883/0.2863, allocations: 180.6 kB / 499.2 MB, free: 20.38 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.051e-05/0.2863, allocations: 33.75 kB / 499.2 MB, free: 20.38 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001885/0.2865, allocations: 144.3 kB / 499.4 MB, free: 20.33 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.22e-05/0.2866, allocations: 108.8 kB / 499.5 MB, free: 20.25 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001053/0.2867, allocations: 160.1 kB / 499.6 MB, free: 20.12 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004352/0.2872, allocations: 0.499 MB / 0.4884 GB, free: 19.75 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.2872, allocations: 0 / 0.4884 GB, free: 19.75 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2872, allocations: 1.5 kB / 0.4884 GB, free: 19.75 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.243e-05/0.2872, allocations: 4 kB / 0.4884 GB, free: 19.75 MB / 366.1 MB Warning: Alias equations of external objects are not Modelica compliant as in: getReal.pkgOut[1].pkg = getReal.pkgIn.pkg addInteger.pkgOut[1].pkg = addInteger.pkgIn.pkg addReal.pkgOut[1].pkg = addReal.pkgIn.pkg getReal.pkgOut[1].pkg = getInteger.pkgIn.pkg sharedMemoryRead.pkgOut.pkg = getReal.pkgIn.pkg addInteger.pkgOut[1].pkg = sharedMemoryWrite.pkgIn.pkg addReal.pkgOut[1].pkg = addInteger.pkgIn.pkg packager.pkgOut.pkg = addReal.pkgIn.pkg Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001063/0.2882, allocations: 0.8637 MB / 0.4893 GB, free: 18.96 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.2883, allocations: 8.844 kB / 0.4893 GB, free: 18.96 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.2e-05/0.2883, allocations: 65.94 kB / 0.4893 GB, free: 18.9 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.115e-05/0.2884, allocations: 38.52 kB / 0.4894 GB, free: 18.88 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002409/0.2886, allocations: 295.3 kB / 0.4897 GB, free: 18.59 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.441e-05/0.2887, allocations: 22.5 kB / 0.4897 GB, free: 18.58 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.842e-05/0.2887, allocations: 28.34 kB / 0.4897 GB, free: 18.57 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005564/0.2893, allocations: 374.1 kB / 0.4901 GB, free: 18.31 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.127e-05/0.2893, allocations: 5.25 kB / 0.4901 GB, free: 18.31 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.16e-05/0.2893, allocations: 11.16 kB / 0.4901 GB, free: 18.3 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.18e-05/0.2893, allocations: 7.625 kB / 0.4901 GB, free: 18.3 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003457/0.2897, allocations: 195.7 kB / 0.4903 GB, free: 18.21 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001099/0.2908, allocations: 1.167 MB / 0.4914 GB, free: 17.15 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004234/0.2912, allocations: 233.1 kB / 0.4916 GB, free: 16.97 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001691/0.2914, allocations: 107.6 kB / 0.4917 GB, free: 16.9 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.263e-05/0.2914, allocations: 7.453 kB / 0.4917 GB, free: 16.89 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002737/0.2917, allocations: 214.2 kB / 0.4919 GB, free: 16.72 MB / 366.1 MB Notification: Performance of pre-optimization done (n=31): time 1.663e-06/0.2917, allocations: 0 / 0.4919 GB, free: 16.72 MB / 366.1 MB Notification: Performance of matching and sorting (n=31): time 0.0008418/0.2925, allocations: 450.4 kB / 0.4924 GB, free: 16.51 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.132e-05/0.2926, allocations: 158.6 kB / 0.4925 GB, free: 16.34 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001882/0.2928, allocations: 219.5 kB / 0.4927 GB, free: 16.16 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.712e-05/0.2928, allocations: 39.55 kB / 0.4928 GB, free: 16.12 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.338e-05/0.2929, allocations: 176.6 kB / 0.4929 GB, free: 15.96 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.386e-05/0.2929, allocations: 80.92 kB / 0.493 GB, free: 15.89 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001236/0.2931, allocations: 97.62 kB / 0.4931 GB, free: 15.83 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.228e-05/0.2931, allocations: 333.4 kB / 0.4934 GB, free: 15.5 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001523/0.2933, allocations: 89.17 kB / 0.4935 GB, free: 15.46 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000219/0.2935, allocations: 245.9 kB / 0.4937 GB, free: 15.22 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004148/0.2939, allocations: 362 kB / 0.4941 GB, free: 14.92 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.421e-06/0.2939, allocations: 1.375 kB / 0.4941 GB, free: 14.92 MB / 366.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0005815/0.2945, allocations: 388.5 kB / 0.4945 GB, free: 14.71 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.2945, allocations: 6.875 kB / 0.4945 GB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.2945, allocations: 5.625 kB / 0.4945 GB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.609e-05/0.2946, allocations: 8.094 kB / 0.4945 GB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001991/0.2948, allocations: 64.72 kB / 0.4945 GB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.483e-05/0.2948, allocations: 12 kB / 0.4946 GB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001397/0.2949, allocations: 36.88 kB / 0.4946 GB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.096e-05/0.2949, allocations: 27.05 kB / 0.4946 GB, free: 14.64 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 42 (sharedMemoryWrite.dummy,$PRE.sharedMemoryWrite.dummy,addInteger.pkgOut[1].dummy,$PRE.addInteger.pkgOut[1].dummy,addReal.pkgOut[1].dummy,$PRE.addReal.pkgOut[1].dummy,packager.pkgOut.dummy,$PRE.packager.pkgOut.dummy,addInteger.pkgOut[1].backwardTrigger,addInteger.pkgOut[1].trigger,$whenCondition2,addInteger.u[1],sharedMemoryRead.pkgOut.dummy,$PRE.sharedMemoryRead.pkgOut.dummy,getInteger.dummy,$PRE.getInteger.dummy,getInteger.y[1],$PRE.getInteger.y[1],getReal.dummy,$PRE.getReal.dummy,getReal.y[3],$PRE.getReal.y[3],getReal.y[2],$PRE.getReal.y[2],getReal.y[1],$PRE.getReal.y[1],getReal.pkgOut[1].dummy,$PRE.getReal.pkgOut[1].dummy,getReal.pkgOut[1].trigger,$whenCondition1,getInteger.pkgIn.userPkgBitSize,getInteger.pkgIn.backwardTrigger,sharedMemoryRead.bufferSize,getInteger.pkgIn.autoPkgBitSize,getReal.pkgIn.autoPkgBitSize,sharedMemoryWrite.pkgIn.autoPkgBitSize,sharedMemoryWrite.pkgIn.userPkgBitSize,addInteger.pkgIn.autoPkgBitSize,addReal.pkgIn.autoPkgBitSize,packager.bufferSize,packager.backwardPropagatedBufferSize,sharedMemoryWrite.bufferSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001973/0.2951, allocations: 197.7 kB / 0.4948 GB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.82e-05/0.2952, allocations: 26.34 kB / 0.4948 GB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000318/0.2955, allocations: 195.2 kB / 0.495 GB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.595e-06/0.2955, allocations: 7.188 kB / 0.495 GB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.054e-06/0.2955, allocations: 2.281 kB / 0.495 GB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.2955, allocations: 5.078 kB / 0.495 GB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009428/0.2965, allocations: 0.8349 MB / 0.4958 GB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.2965, allocations: 5.031 kB / 0.4959 GB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.665e-05/0.2965, allocations: 15.7 kB / 0.4959 GB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.2965, allocations: 1.625 kB / 0.4959 GB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.216e-05/0.2966, allocations: 12.45 kB / 0.4959 GB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.107e-06/0.2966, allocations: 2.438 kB / 0.4959 GB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.2966, allocations: 1.312 kB / 0.4959 GB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005933/0.2972, allocations: 0.5405 MB / 0.4964 GB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.623e-05/0.2972, allocations: 100.3 kB / 0.4965 GB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.635e-05/0.2972, allocations: 14.7 kB / 0.4965 GB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001271/0.2974, allocations: 2.75 kB / 0.4965 GB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.626e-05/0.2974, allocations: 20.16 kB / 0.4965 GB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.075e-05/0.2974, allocations: 8.594 kB / 0.4966 GB, free: 13.16 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.732e-05/0.2975, allocations: 125.7 kB / 0.4967 GB, free: 13.06 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2975, allocations: 0 / 0.4967 GB, free: 13.06 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005355/0.2981, allocations: 120 kB / 0.4968 GB, free: 13.01 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 28 (getReal.pkgOut[1].trigger,$whenCondition1,getReal.pkgOut[1].dummy,getReal.y[1],getReal.y[2],getReal.y[3],getReal.dummy,getInteger.y[1],getInteger.dummy,sharedMemoryRead.pkgOut.dummy,getReal.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,sharedMemoryRead.bufferSize,addInteger.pkgOut[1].trigger,$whenCondition2,packager.pkgOut.dummy,addReal.pkgOut[1].dummy,addInteger.pkgOut[1].dummy,addInteger.pkgOut[1].backwardTrigger,addInteger.u[1],sharedMemoryWrite.bufferSize,sharedMemoryWrite.dummy,packager.backwardPropagatedBufferSize,packager.bufferSize,addReal.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,sharedMemoryWrite.pkgIn.userPkgBitSize,sharedMemoryWrite.pkgIn.autoPkgBitSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 18 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001379/0.2995, allocations: 1.282 MB / 0.498 GB, free: 12.03 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000497/0.2999, allocations: 266 kB / 0.4983 GB, free: 11.91 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2999, allocations: 3.938 kB / 0.4983 GB, free: 11.91 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002014/0.3002, allocations: 116.4 kB / 0.4984 GB, free: 11.86 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005111/0.3007, allocations: 53.7 kB / 0.4985 GB, free: 11.83 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003041/0.3037, allocations: 2.944 MB / 0.5013 GB, free: 9.402 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002121/0.3039, allocations: 0.7776 MB / 0.5021 GB, free: 8.66 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001187/0.304, allocations: 40.42 kB / 0.5021 GB, free: 8.645 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.483e-05/0.3041, allocations: 80.97 kB / 0.5022 GB, free: 8.578 MB / 366.1 MB Notification: Performance of SimCode: time 9.02e-07/0.3041, allocations: 0 / 0.5022 GB, free: 8.578 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03021/0.3343, allocations: 6.607 MB / 0.5087 GB, free: 4.438 MB / 366.1 MB Error: Error building simulator. Build log: cmd: cd 'Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory.fmutmp/sources/' && mkdir build_cmake_static && cd build_cmake_static && cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER='clang' .. && cmake --build . --parallel -j1 --target install && cd .. && rm -rf build_cmake_static -- The C compiler identification is Clang 14.0.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/clang - skipped -- Detecting C compile features -- Detecting C compile features - done -- FMI2 include directory: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Building for FMI platform linux64 -- Install directory: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemory/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory.fmutmp/sources/../binaries/linux64 -- Linking rt-NOTFOUND -- Linking pthread-NOTFOUND -- CVODE: Not linked -- Not using FMI2_FUNCTION_PREFIX -- Installing dynamic dependencies from list: rt-NOTFOUND;pthread-NOTFOUND -- Configuring done CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: pthread linked by target \"Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemory/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory.fmutmp/sources rt linked by target \"Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemory/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory.fmutmp/sources -- Generating done CMake Generate step failed. Build files cannot be regenerated correctly. " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 3.088496529031545] Failed to read output from testmodel.py, exit status != 0: 0.742065214086324 0.7654423619999999 0.47309936900000005 Calling exit ...