Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger.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.001816/0.001816, allocations: 108.3 kB / 19.75 MB, free: 1.879 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.001864/0.001864, allocations: 220.7 kB / 23.03 MB, free: 5.016 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.525/1.525, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.06598/0.06598, allocations: 12.22 MB / 325.4 MB, free: 7.066 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_SharedMemoryExternalTrigger,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemoryExternalTrigger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemoryExternalTrigger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002125/0.002125, allocations: 67.89 kB / 453.3 MB, free: 8.848 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1218, allocations: 56.39 MB / 0.4977 GB, free: 364 kB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger): time 0.005623/0.1274, allocations: 2.878 MB / 0.5006 GB, free: 13.46 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001856/0.1293, allocations: 0.7319 MB / 0.5013 GB, free: 12.73 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001319/0.1294, allocations: 7.938 kB / 0.5013 GB, free: 12.72 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003111/0.1297, allocations: 71.33 kB / 0.5013 GB, free: 12.65 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002003/0.1299, allocations: 55.58 kB / 0.5014 GB, free: 12.6 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.0006853/0.1306, allocations: 223.3 kB / 0.5016 GB, free: 12.38 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004245/0.1311, allocations: 331.2 kB / 0.5019 GB, free: 12.05 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002641/0.1313, allocations: 109.6 kB / 0.502 GB, free: 11.94 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000193/0.1315, allocations: 155.5 kB / 0.5022 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002828/0.1318, allocations: 171.1 kB / 0.5023 GB, free: 11.62 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.585e-05/0.1319, allocations: 36 kB / 0.5024 GB, free: 11.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002549/0.1321, allocations: 155.9 kB / 0.5025 GB, free: 11.43 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001422/0.1323, allocations: 115.6 kB / 0.5026 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001589/0.1324, allocations: 139.2 kB / 0.5028 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006569/0.1331, allocations: 0.5174 MB / 0.5033 GB, free: 10.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.1331, allocations: 0 / 0.5033 GB, free: 10.66 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1331, allocations: 0 / 0.5033 GB, free: 10.66 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.895e-05/0.1331, allocations: 0 / 0.5033 GB, free: 10.66 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001759/0.1349, allocations: 0.8081 MB / 0.5041 GB, free: 9.805 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.1349, allocations: 8.031 kB / 0.5041 GB, free: 9.797 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.113e-05/0.135, allocations: 74.7 kB / 0.5041 GB, free: 9.715 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001043/0.1351, allocations: 44.7 kB / 0.5042 GB, free: 9.672 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003797/0.1355, allocations: 246.3 kB / 0.5044 GB, free: 9.406 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.967e-05/0.1355, allocations: 21.03 kB / 0.5044 GB, free: 9.387 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.35e-05/0.1356, allocations: 36.38 kB / 0.5045 GB, free: 9.352 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007241/0.1363, allocations: 399.7 kB / 0.5049 GB, free: 8.93 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/0.1363, allocations: 3.938 kB / 0.5049 GB, free: 8.926 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.682e-05/0.1363, allocations: 15.98 kB / 0.5049 GB, free: 8.91 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.55e-05/0.1364, allocations: 8 kB / 0.5049 GB, free: 8.902 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004321/0.1368, allocations: 212.5 kB / 0.5051 GB, free: 8.699 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001689/0.1385, allocations: 1.21 MB / 0.5063 GB, free: 7.422 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004936/0.139, allocations: 261.1 kB / 0.5065 GB, free: 7.121 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002088/0.1392, allocations: 124.2 kB / 0.5066 GB, free: 6.984 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.572e-05/0.1392, allocations: 4 kB / 0.5066 GB, free: 6.98 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004031/0.1396, allocations: 224.6 kB / 0.5068 GB, free: 6.727 MB / 382.1 MB Notification: Performance of pre-optimization done (n=34): time 2.144e-06/0.1396, allocations: 0 / 0.5068 GB, free: 6.727 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.001083/0.1407, allocations: 488.9 kB / 0.5073 GB, free: 6.246 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001856/0.1409, allocations: 178.1 kB / 0.5075 GB, free: 6.035 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003025/0.1412, allocations: 239.8 kB / 0.5077 GB, free: 5.793 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.832e-05/0.1413, allocations: 41.7 kB / 0.5078 GB, free: 5.746 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001681/0.1414, allocations: 184.8 kB / 0.5079 GB, free: 5.559 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001086/0.1415, allocations: 95.23 kB / 0.508 GB, free: 5.465 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001687/0.1417, allocations: 110.2 kB / 0.5081 GB, free: 5.352 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002162/0.1419, allocations: 338.8 kB / 0.5084 GB, free: 5.012 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002236/0.1422, allocations: 105 kB / 0.5085 GB, free: 4.91 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004093/0.1426, allocations: 273.5 kB / 0.5088 GB, free: 4.57 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000644/0.1432, allocations: 400.2 kB / 0.5092 GB, free: 4.105 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.561e-06/0.1432, allocations: 3.938 kB / 0.5092 GB, free: 4.102 MB / 382.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007889/0.144, allocations: 428.9 kB / 0.5096 GB, free: 3.676 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.144, allocations: 8 kB / 0.5096 GB, free: 3.668 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.144, allocations: 8 kB / 0.5096 GB, free: 3.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.519e-05/0.1441, allocations: 11.94 kB / 0.5096 GB, free: 3.648 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002587/0.1443, allocations: 63.84 kB / 0.5097 GB, free: 3.586 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.036e-05/0.1443, allocations: 16.48 kB / 0.5097 GB, free: 3.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001642/0.1445, allocations: 31.78 kB / 0.5097 GB, free: 3.539 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.893e-05/0.1445, allocations: 28 kB / 0.5098 GB, free: 3.512 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 50 (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,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.u[1],sharedMemoryRead.internalTrigger,sharedMemoryWrite.internalTrigger,enable.y,zeroCrossing1.enable,$PRE.zeroCrossing1.enable,zeroCrossing1.disable,$PRE.zeroCrossing1.disable,zeroCrossing1.u_pos,$PRE.zeroCrossing1.u_pos,getReal.pkgOut[1].trigger,addInteger.pkgOut[1].trigger,$whenCondition1,$whenCondition2,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 (58): * Single equations (assignments): 58 * 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.0002764/0.1448, allocations: 199.1 kB / 0.51 GB, free: 3.309 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.484e-05/0.1449, allocations: 35.8 kB / 0.51 GB, free: 3.273 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006048/0.1455, allocations: 299.4 kB / 0.5103 GB, free: 2.969 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.852e-06/0.1455, allocations: 7.938 kB / 0.5103 GB, free: 2.961 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.1455, allocations: 4 kB / 0.5103 GB, free: 2.957 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/0.1455, allocations: 0 / 0.5103 GB, free: 2.957 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001199/0.1467, allocations: 0.7238 MB / 0.511 GB, free: 2.184 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.1467, allocations: 0 / 0.511 GB, free: 2.184 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.302e-05/0.1468, allocations: 19.92 kB / 0.511 GB, free: 2.164 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.1468, allocations: 0 / 0.511 GB, free: 2.164 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.047e-05/0.1468, allocations: 11.98 kB / 0.511 GB, free: 2.152 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.773e-06/0.1468, allocations: 8.156 kB / 0.511 GB, free: 2.145 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.1468, allocations: 3.938 kB / 0.511 GB, free: 2.141 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007944/0.1476, allocations: 0.4974 MB / 0.5115 GB, free: 1.617 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.69e-05/0.1476, allocations: 23.8 kB / 0.5115 GB, free: 1.594 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.471e-05/0.1477, allocations: 15.98 kB / 0.5116 GB, free: 1.578 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/0.1478, allocations: 4 kB / 0.5116 GB, free: 1.574 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.255e-05/0.1479, allocations: 27.95 kB / 0.5116 GB, free: 1.547 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.568e-05/0.1479, allocations: 8 kB / 0.5116 GB, free: 1.539 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001452/0.1481, allocations: 136 kB / 0.5117 GB, free: 1.406 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1481, allocations: 0 / 0.5117 GB, free: 1.406 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000539/0.1486, allocations: 127.6 kB / 0.5118 GB, free: 1.281 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 30 (sharedMemoryWrite.internalTrigger,sharedMemoryRead.internalTrigger,getReal.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,sharedMemoryRead.bufferSize,getReal.pkgOut[1].trigger,addInteger.pkgOut[1].trigger,$whenCondition2,$whenCondition1,packager.pkgOut.dummy,addReal.pkgOut[1].dummy,addInteger.pkgOut[1].dummy,addInteger.u[1],sharedMemoryWrite.bufferSize,sharedMemoryWrite.dummy,getReal.pkgOut[1].dummy,getReal.y[1],getReal.y[2],getReal.y[3],getReal.dummy,getInteger.y[1],getInteger.dummy,sharedMemoryRead.pkgOut.dummy,zeroCrossing1.u_pos,packager.backwardPropagatedBufferSize,packager.bufferSize,addReal.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,sharedMemoryWrite.pkgIn.userPkgBitSize,sharedMemoryWrite.pkgIn.autoPkgBitSize) * Number of discrete states: 1 (zeroCrossing1.u_pos) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 12 * 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.001873/0.1505, allocations: 1.261 MB / 0.5131 GB, free: 48 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.2046/0.355, allocations: 283.8 kB / 0.5133 GB, free: 21.66 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.3551, allocations: 0 / 0.5133 GB, free: 21.66 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002488/0.3553, allocations: 125 kB / 0.5135 GB, free: 21.66 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005252/0.3558, allocations: 47.19 kB / 0.5135 GB, free: 21.66 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003257/0.3591, allocations: 3.033 MB / 0.5165 GB, free: 19.89 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001768/0.3593, allocations: 177.7 kB / 0.5166 GB, free: 19.81 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001484/0.3594, allocations: 40.97 kB / 0.5167 GB, free: 19.8 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001534/0.3596, allocations: 96.92 kB / 0.5168 GB, free: 19.8 MB / 382.1 MB Notification: Performance of SimCode: time 1.854e-06/0.3596, allocations: 0 / 0.5168 GB, free: 19.8 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03884/0.3984, allocations: 7.724 MB / 0.5243 GB, free: 18.43 MB / 382.1 MB Error: Error building simulator. Build log: cmd: cd '743.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_SharedMemoryExternalTrigger/743.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_SharedMemoryExternalTrigger/743.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 \"743\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger/743.fmutmp/sources rt linked by target \"743\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger/743.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.3245212766341865] Failed to read output from testmodel.py, exit status != 0: 0.7955459929071367 0.824016248 0.686075666 Calling exit ...