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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001542/0.001542, allocations: 105 kB / 20.53 MB, free: 1.43 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001716/0.001716, allocations: 211.7 kB / 23.83 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.538/1.538, allocations: 230.6 MB / 257.6 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/package.mo): time 0.07773/0.07773, allocations: 12.22 MB / 326.2 MB, free: 7.242 MB / 254.1 MB " [Timeout remaining time 180] Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemory,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemory,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 63.91 kB / 454.2 MB, free: 9 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.118, allocations: 56.4 MB / 0.4986 GB, free: 0.5 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemory): time 0.004931/0.1229, allocations: 2.843 MB / 0.5014 GB, free: 13.64 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001467/0.1244, allocations: 0.7204 MB / 0.5021 GB, free: 12.92 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001095/0.1245, allocations: 7.938 kB / 0.5021 GB, free: 12.91 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002684/0.1248, allocations: 75.25 kB / 0.5022 GB, free: 12.84 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001704/0.1249, allocations: 39.66 kB / 0.5022 GB, free: 12.8 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 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 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 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 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 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 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 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.0006175/0.1255, allocations: 215.3 kB / 0.5024 GB, free: 12.59 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000395/0.1259, allocations: 303.2 kB / 0.5027 GB, free: 12.29 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002616/0.1262, allocations: 113.2 kB / 0.5028 GB, free: 12.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001986/0.1264, allocations: 151.5 kB / 0.5029 GB, free: 12.03 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002864/0.1267, allocations: 183.2 kB / 0.5031 GB, free: 11.85 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.558e-05/0.1267, allocations: 32 kB / 0.5031 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002638/0.127, allocations: 151.8 kB / 0.5033 GB, free: 11.67 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001604/0.1272, allocations: 103.7 kB / 0.5034 GB, free: 11.57 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001811/0.1273, allocations: 163.1 kB / 0.5035 GB, free: 11.41 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006668/0.128, allocations: 0.498 MB / 0.504 GB, free: 10.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.128, allocations: 3.938 kB / 0.504 GB, free: 10.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.128, allocations: 0 / 0.504 GB, free: 10.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.405e-05/0.128, allocations: 0 / 0.504 GB, free: 10.91 MB / 382.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.00152/0.1296, allocations: 0.7774 MB / 0.5048 GB, free: 10.07 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.17e-05/0.1296, allocations: 12.03 kB / 0.5048 GB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.138e-05/0.1296, allocations: 8.844 kB / 0.5048 GB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.619e-05/0.1297, allocations: 62.72 kB / 0.5049 GB, free: 9.98 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.825e-05/0.1298, allocations: 44.69 kB / 0.5049 GB, free: 9.938 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003472/0.1301, allocations: 233.9 kB / 0.5051 GB, free: 9.684 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.638e-05/0.1302, allocations: 21.03 kB / 0.5052 GB, free: 9.664 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.627e-05/0.1302, allocations: 32.36 kB / 0.5052 GB, free: 9.633 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006766/0.1309, allocations: 375.9 kB / 0.5055 GB, free: 9.238 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.1309, allocations: 0 / 0.5055 GB, free: 9.238 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.61e-05/0.131, allocations: 12 kB / 0.5056 GB, free: 9.227 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.131, allocations: 8 kB / 0.5056 GB, free: 9.219 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003864/0.1314, allocations: 188.7 kB / 0.5057 GB, free: 9.035 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001473/0.1328, allocations: 1.135 MB / 0.5069 GB, free: 7.836 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004868/0.1333, allocations: 234.5 kB / 0.5071 GB, free: 7.57 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002055/0.1335, allocations: 107.4 kB / 0.5072 GB, free: 7.453 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.376e-05/0.1336, allocations: 12 kB / 0.5072 GB, free: 7.441 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003777/0.1339, allocations: 207.6 kB / 0.5074 GB, free: 7.211 MB / 382.1 MB Notification: Performance of pre-optimization done (n=31): time 1.904e-06/0.1339, allocations: 0 / 0.5074 GB, free: 7.211 MB / 382.1 MB Notification: Performance of matching and sorting (n=31): time 0.000997/0.1349, allocations: 461.1 kB / 0.5078 GB, free: 6.754 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001237/0.1351, allocations: 148.5 kB / 0.508 GB, free: 6.578 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002476/0.1353, allocations: 226.9 kB / 0.5082 GB, free: 6.344 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.922e-05/0.1354, allocations: 37.7 kB / 0.5082 GB, free: 6.301 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000146/0.1355, allocations: 184.6 kB / 0.5084 GB, free: 6.117 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.257e-05/0.1356, allocations: 67.48 kB / 0.5085 GB, free: 6.051 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001416/0.1357, allocations: 106 kB / 0.5086 GB, free: 5.941 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001835/0.1359, allocations: 338.8 kB / 0.5089 GB, free: 5.602 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001803/0.1361, allocations: 88.83 kB / 0.509 GB, free: 5.512 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003126/0.1364, allocations: 247.2 kB / 0.5092 GB, free: 5.203 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000515/0.1369, allocations: 362.8 kB / 0.5096 GB, free: 4.781 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.1369, allocations: 4 kB / 0.5096 GB, free: 4.777 MB / 382.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006607/0.1376, allocations: 389 kB / 0.5099 GB, free: 4.391 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.1376, allocations: 4 kB / 0.5099 GB, free: 4.387 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.1376, allocations: 8 kB / 0.5099 GB, free: 4.379 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.191e-05/0.1376, allocations: 8.531 kB / 0.5099 GB, free: 4.371 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002162/0.1378, allocations: 67.84 kB / 0.51 GB, free: 4.305 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.554e-05/0.1379, allocations: 11.94 kB / 0.51 GB, free: 4.293 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001471/0.138, allocations: 35.77 kB / 0.5101 GB, free: 4.258 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.856e-05/0.138, allocations: 16 kB / 0.5101 GB, free: 4.242 MB / 382.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.000242/0.1383, allocations: 191.3 kB / 0.5103 GB, free: 4.047 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.603e-05/0.1383, allocations: 27.84 kB / 0.5103 GB, free: 4.02 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003795/0.1387, allocations: 187 kB / 0.5105 GB, free: 3.832 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.15e-05/0.1387, allocations: 11.92 kB / 0.5105 GB, free: 3.82 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.1387, allocations: 4 kB / 0.5105 GB, free: 3.816 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.144e-06/0.1387, allocations: 7.938 kB / 0.5105 GB, free: 3.809 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001138/0.1399, allocations: 0.8049 MB / 0.5113 GB, free: 2.953 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.1399, allocations: 4 kB / 0.5113 GB, free: 2.949 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.786e-05/0.1399, allocations: 11.94 kB / 0.5113 GB, free: 2.938 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.1399, allocations: 7.984 kB / 0.5113 GB, free: 2.93 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.259e-05/0.14, allocations: 4 kB / 0.5113 GB, free: 2.926 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/0.14, allocations: 4 kB / 0.5113 GB, free: 2.922 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.14, allocations: 0 / 0.5113 GB, free: 2.922 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007152/0.1407, allocations: 0.5406 MB / 0.5118 GB, free: 2.359 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.25e-05/0.1407, allocations: 27.84 kB / 0.5119 GB, free: 2.332 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.003e-05/0.1408, allocations: 19.91 kB / 0.5119 GB, free: 2.312 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001305/0.1409, allocations: 4 kB / 0.5119 GB, free: 2.309 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.403e-05/0.1409, allocations: 19.91 kB / 0.5119 GB, free: 2.289 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.589e-05/0.141, allocations: 19.98 kB / 0.5119 GB, free: 2.27 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001159/0.1411, allocations: 120.1 kB / 0.512 GB, free: 2.152 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1411, allocations: 0 / 0.512 GB, free: 2.152 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005277/0.1416, allocations: 119.7 kB / 0.5121 GB, free: 2.035 MB / 382.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.001786/0.1434, allocations: 1.278 MB / 0.5134 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005332/0.1439, allocations: 267.7 kB / 0.5136 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.1439, allocations: 0 / 0.5136 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002121/0.1442, allocations: 113.1 kB / 0.5138 GB, free: 420 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005103/0.1447, allocations: 55.2 kB / 0.5138 GB, free: 372 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.23/0.3747, allocations: 2.92 MB / 0.5167 GB, free: 19.53 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002078/0.3749, allocations: 0.7822 MB / 0.5174 GB, free: 18.83 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001199/0.375, allocations: 45.42 kB / 0.5175 GB, free: 18.83 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001039/0.3751, allocations: 82.36 kB / 0.5175 GB, free: 18.82 MB / 382.1 MB Notification: Performance of SimCode: time 8.91e-07/0.3751, allocations: 0 / 0.5175 GB, free: 18.82 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02965/0.4047, allocations: 6.916 MB / 0.5243 GB, free: 18.02 MB / 382.1 MB Error: Error building simulator. Build log: cmd: cd '714.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/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemory/714.fmutmp/sources/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/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemory/714.fmutmp/sources/../binaries/linux64 -- Linking rt-NOTFOUND -- Linking pthread-NOTFOUND -- CVODE_DIRECTORY: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc -- SUNDIALS_CVODE_LIBRARY: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_cvode.so -- SUNDIALS_NVECSERIAL_LIBRARY: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_nvecserial.so -- CVODE: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_nvecserial.so /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_cvode.so -- Not using FMI2_FUNCTION_PREFIX -- Installing dynamic dependencies from list: rt-NOTFOUND;pthread-NOTFOUND;/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_cvode.so;/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_nvecserial.so -- 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 \"714\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemory/714.fmutmp/sources rt linked by target \"714\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemory/714.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.4149906379752792] Failed to read output from testmodel.py, exit status != 0: 0.8498072769725695 0.874311086 0.74156924 Calling exit ...