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.001446/0.001446, allocations: 101.9 kB / 20.52 MB, free: 1.348 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.001539/0.001539, allocations: 217.7 kB / 23.82 MB, free: 4.512 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.636/1.636, allocations: 230.6 MB / 257.6 MB, free: 7.816 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.06577/0.06577, allocations: 12.23 MB / 326.2 MB, free: 7.047 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.002001/0.002001, allocations: 55.91 kB / 454.1 MB, free: 8.859 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.131, allocations: 56.4 MB / 0.4985 GB, free: 372 kB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemory): time 0.005239/0.1362, allocations: 2.783 MB / 0.5012 GB, free: 13.57 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001391/0.1376, allocations: 0.6814 MB / 0.5019 GB, free: 12.89 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001145/0.1377, allocations: 11.88 kB / 0.5019 GB, free: 12.88 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002764/0.138, allocations: 71.38 kB / 0.502 GB, free: 12.8 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001765/0.1382, allocations: 43.59 kB / 0.502 GB, free: 12.76 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.0006733/0.1389, allocations: 219.4 kB / 0.5022 GB, free: 12.55 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004096/0.1393, allocations: 307.2 kB / 0.5025 GB, free: 12.25 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002656/0.1395, allocations: 109.2 kB / 0.5026 GB, free: 12.14 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001785/0.1397, allocations: 143.5 kB / 0.5028 GB, free: 12 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002677/0.14, allocations: 183.1 kB / 0.5029 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.195e-05/0.1401, allocations: 36 kB / 0.503 GB, free: 11.78 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002763/0.1403, allocations: 151.9 kB / 0.5031 GB, free: 11.63 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001528/0.1405, allocations: 107.6 kB / 0.5032 GB, free: 11.53 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001454/0.1406, allocations: 127.3 kB / 0.5033 GB, free: 11.4 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006748/0.1413, allocations: 0.5019 MB / 0.5038 GB, free: 10.9 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.1413, allocations: 4 kB / 0.5038 GB, free: 10.89 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1413, allocations: 0 / 0.5038 GB, free: 10.89 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.292e-05/0.1413, allocations: 0 / 0.5038 GB, free: 10.89 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.001505/0.1428, allocations: 0.7774 MB / 0.5046 GB, free: 10.06 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.1429, allocations: 8.031 kB / 0.5046 GB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.06e-05/0.1429, allocations: 8.844 kB / 0.5046 GB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.69e-05/0.143, allocations: 70.72 kB / 0.5047 GB, free: 9.965 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.71e-05/0.1431, allocations: 40.7 kB / 0.5047 GB, free: 9.926 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003309/0.1434, allocations: 222 kB / 0.5049 GB, free: 9.684 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.941e-05/0.1434, allocations: 25.03 kB / 0.5049 GB, free: 9.66 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.328e-05/0.1435, allocations: 40.3 kB / 0.505 GB, free: 9.621 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006647/0.1442, allocations: 368 kB / 0.5053 GB, free: 9.234 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.1442, allocations: 0 / 0.5053 GB, free: 9.234 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.303e-05/0.1442, allocations: 12 kB / 0.5053 GB, free: 9.223 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.274e-05/0.1442, allocations: 11.98 kB / 0.5054 GB, free: 9.211 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003599/0.1446, allocations: 192.6 kB / 0.5055 GB, free: 9.023 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001427/0.146, allocations: 1.069 MB / 0.5066 GB, free: 7.891 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004821/0.1465, allocations: 226.6 kB / 0.5068 GB, free: 7.633 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001862/0.1467, allocations: 111.4 kB / 0.5069 GB, free: 7.512 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.423e-05/0.1467, allocations: 7.938 kB / 0.5069 GB, free: 7.504 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003666/0.1471, allocations: 215.6 kB / 0.5071 GB, free: 7.266 MB / 382.1 MB Notification: Performance of pre-optimization done (n=31): time 2.044e-06/0.1471, allocations: 0 / 0.5071 GB, free: 7.266 MB / 382.1 MB Notification: Performance of matching and sorting (n=31): time 0.00101/0.1481, allocations: 465 kB / 0.5076 GB, free: 6.805 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001335/0.1482, allocations: 144.5 kB / 0.5077 GB, free: 6.633 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002835/0.1485, allocations: 230.8 kB / 0.5079 GB, free: 6.395 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.274e-05/0.1485, allocations: 41.7 kB / 0.508 GB, free: 6.348 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001453/0.1487, allocations: 172.6 kB / 0.5081 GB, free: 6.176 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.845e-05/0.1488, allocations: 75.47 kB / 0.5082 GB, free: 6.102 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001552/0.1489, allocations: 106 kB / 0.5083 GB, free: 5.988 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.1491, allocations: 334.8 kB / 0.5086 GB, free: 5.652 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001796/0.1493, allocations: 93.08 kB / 0.5087 GB, free: 5.562 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003234/0.1496, allocations: 247.1 kB / 0.5089 GB, free: 5.254 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005271/0.1501, allocations: 374.7 kB / 0.5093 GB, free: 4.82 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.1501, allocations: 0 / 0.5093 GB, free: 4.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006415/0.1508, allocations: 381 kB / 0.5097 GB, free: 4.441 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.42e-05/0.1508, allocations: 8.594 kB / 0.5097 GB, free: 4.434 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.1508, allocations: 8 kB / 0.5097 GB, free: 4.426 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.486e-05/0.1508, allocations: 15.88 kB / 0.5097 GB, free: 4.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000216/0.1511, allocations: 55.91 kB / 0.5097 GB, free: 4.355 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.636e-05/0.1511, allocations: 11.94 kB / 0.5098 GB, free: 4.344 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001454/0.1512, allocations: 31.77 kB / 0.5098 GB, free: 4.312 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.381e-05/0.1512, allocations: 20 kB / 0.5098 GB, free: 4.293 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.0002551/0.1515, allocations: 191.4 kB / 0.51 GB, free: 4.098 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.203e-05/0.1516, allocations: 27.84 kB / 0.51 GB, free: 4.07 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003921/0.1519, allocations: 191 kB / 0.5102 GB, free: 3.879 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.418e-06/0.152, allocations: 11.92 kB / 0.5102 GB, free: 3.867 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.152, allocations: 7.875 kB / 0.5102 GB, free: 3.859 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.152, allocations: 0 / 0.5102 GB, free: 3.859 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001156/0.1531, allocations: 0.7893 MB / 0.511 GB, free: 3.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.1531, allocations: 0 / 0.511 GB, free: 3.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.799e-05/0.1532, allocations: 12 kB / 0.511 GB, free: 3.008 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.1532, allocations: 48 / 0.511 GB, free: 3.008 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.917e-05/0.1532, allocations: 11.97 kB / 0.511 GB, free: 2.996 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.1532, allocations: 8 kB / 0.511 GB, free: 2.988 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.1532, allocations: 0 / 0.511 GB, free: 2.988 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007351/0.1539, allocations: 0.5562 MB / 0.5116 GB, free: 2.41 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.019e-05/0.154, allocations: 27.78 kB / 0.5116 GB, free: 2.383 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.722e-05/0.154, allocations: 8 kB / 0.5116 GB, free: 2.375 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001341/0.1541, allocations: 7.984 kB / 0.5116 GB, free: 2.367 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.768e-05/0.1542, allocations: 11.98 kB / 0.5116 GB, free: 2.355 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.443e-05/0.1542, allocations: 15.98 kB / 0.5116 GB, free: 2.34 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000112/0.1543, allocations: 124.1 kB / 0.5117 GB, free: 2.219 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1543, allocations: 0 / 0.5117 GB, free: 2.219 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005527/0.1549, allocations: 119.6 kB / 0.5119 GB, free: 2.102 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.001875/0.1568, allocations: 1.291 MB / 0.5131 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005686/0.1573, allocations: 273 kB / 0.5134 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.644e-06/0.1573, allocations: 0 / 0.5134 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002205/0.1576, allocations: 111.8 kB / 0.5135 GB, free: 476 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005589/0.1581, allocations: 58.53 kB / 0.5135 GB, free: 424 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2443/0.4025, allocations: 2.921 MB / 0.5164 GB, free: 19.64 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001683/0.4026, allocations: 172.2 kB / 0.5166 GB, free: 19.56 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001294/0.4028, allocations: 40.64 kB / 0.5166 GB, free: 19.56 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001113/0.4029, allocations: 82.42 kB / 0.5167 GB, free: 19.55 MB / 382.1 MB Notification: Performance of SimCode: time 8.92e-07/0.4029, allocations: 0 / 0.5167 GB, free: 19.55 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03109/0.434, allocations: 7.023 MB / 0.5235 GB, free: 18.59 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.5696643500123173] Failed to read output from testmodel.py, exit status != 0: 0.8854690720327199 0.89947034 0.7554252210000001 Calling exit ...