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.001295/0.001295, 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.001535/0.001535, allocations: 210.4 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.533/1.533, 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.06378/0.06378, allocations: 12.22 MB / 326.2 MB, free: 7.238 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemoryExternalTrigger",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002047/0.002047, allocations: 56.09 kB / 454.2 MB, free: 8.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.1426, allocations: 56.4 MB / 0.4986 GB, free: 500 kB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger): time 0.005481/0.1481, allocations: 2.944 MB / 0.5015 GB, free: 13.53 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001645/0.1497, allocations: 0.7747 MB / 0.5022 GB, free: 12.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000127/0.1499, allocations: 3.938 kB / 0.5022 GB, free: 12.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003037/0.1502, allocations: 71.33 kB / 0.5023 GB, free: 12.68 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001952/0.1504, allocations: 51.59 kB / 0.5023 GB, free: 12.63 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.0007028/0.1511, allocations: 227.3 kB / 0.5026 GB, free: 12.41 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004471/0.1515, allocations: 323.2 kB / 0.5029 GB, free: 12.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003018/0.1518, allocations: 117.6 kB / 0.503 GB, free: 11.97 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001965/0.152, allocations: 155.5 kB / 0.5031 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002786/0.1523, allocations: 195.1 kB / 0.5033 GB, free: 11.62 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.7e-05/0.1524, allocations: 36 kB / 0.5033 GB, free: 11.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002554/0.1526, allocations: 155.9 kB / 0.5035 GB, free: 11.44 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000153/0.1528, allocations: 119.6 kB / 0.5036 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001786/0.153, allocations: 167.1 kB / 0.5038 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006799/0.1536, allocations: 0.5291 MB / 0.5043 GB, free: 10.62 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.1536, allocations: 0 / 0.5043 GB, free: 10.62 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1536, allocations: 0 / 0.5043 GB, free: 10.62 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.1536, allocations: 0 / 0.5043 GB, free: 10.62 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.001609/0.1553, allocations: 0.798 MB / 0.5051 GB, free: 9.773 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.1553, allocations: 8.031 kB / 0.5051 GB, free: 9.766 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.257e-05/0.1553, allocations: 8.844 kB / 0.5051 GB, free: 9.758 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.997e-05/0.1554, allocations: 70.72 kB / 0.5052 GB, free: 9.68 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.555e-05/0.1555, allocations: 40.7 kB / 0.5052 GB, free: 9.641 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000354/0.1558, allocations: 245.8 kB / 0.5054 GB, free: 9.375 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.427e-05/0.1559, allocations: 33.02 kB / 0.5055 GB, free: 9.344 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.753e-05/0.1559, allocations: 32.38 kB / 0.5055 GB, free: 9.312 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007335/0.1567, allocations: 407.5 kB / 0.5059 GB, free: 8.891 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.1567, allocations: 0 / 0.5059 GB, free: 8.891 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.178e-05/0.1567, allocations: 16 kB / 0.5059 GB, free: 8.875 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.13e-05/0.1567, allocations: 8 kB / 0.5059 GB, free: 8.867 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000423/0.1572, allocations: 213.6 kB / 0.5061 GB, free: 8.656 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001671/0.1588, allocations: 1.272 MB / 0.5073 GB, free: 7.316 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004807/0.1593, allocations: 257.1 kB / 0.5076 GB, free: 7.02 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002526/0.1596, allocations: 120.2 kB / 0.5077 GB, free: 6.887 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.366e-05/0.1596, allocations: 7.984 kB / 0.5077 GB, free: 6.879 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003918/0.16, allocations: 240.5 kB / 0.5079 GB, free: 6.609 MB / 382.1 MB Notification: Performance of pre-optimization done (n=34): time 1.563e-06/0.16, allocations: 0 / 0.5079 GB, free: 6.609 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.0009951/0.161, allocations: 476.8 kB / 0.5084 GB, free: 6.141 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001308/0.1611, allocations: 178.3 kB / 0.5086 GB, free: 5.93 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002587/0.1614, allocations: 231.6 kB / 0.5088 GB, free: 5.691 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.752e-05/0.1614, allocations: 45.69 kB / 0.5088 GB, free: 5.641 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001489/0.1616, allocations: 188.7 kB / 0.509 GB, free: 5.449 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.589e-05/0.1617, allocations: 87.41 kB / 0.5091 GB, free: 5.363 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001637/0.1618, allocations: 110.1 kB / 0.5092 GB, free: 5.25 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001776/0.162, allocations: 338.8 kB / 0.5095 GB, free: 4.91 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002273/0.1622, allocations: 112.9 kB / 0.5096 GB, free: 4.801 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003694/0.1626, allocations: 265.5 kB / 0.5099 GB, free: 4.469 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000633/0.1633, allocations: 408 kB / 0.5103 GB, free: 3.996 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.379e-06/0.1633, allocations: 4 kB / 0.5103 GB, free: 3.992 MB / 382.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007557/0.164, allocations: 421.4 kB / 0.5107 GB, free: 3.574 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/0.164, allocations: 12.12 kB / 0.5107 GB, free: 3.562 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.594e-05/0.1641, allocations: 7.938 kB / 0.5107 GB, free: 3.555 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.232e-05/0.1641, allocations: 8 kB / 0.5107 GB, free: 3.547 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002624/0.1644, allocations: 67.83 kB / 0.5108 GB, free: 3.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.316e-05/0.1644, allocations: 11.94 kB / 0.5108 GB, free: 3.469 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001626/0.1645, allocations: 31.78 kB / 0.5108 GB, free: 3.438 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.672e-05/0.1646, allocations: 20.09 kB / 0.5108 GB, free: 3.418 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.0003123/0.1649, allocations: 223 kB / 0.511 GB, free: 3.191 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.495e-05/0.165, allocations: 27.81 kB / 0.5111 GB, free: 3.164 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005796/0.1655, allocations: 295.4 kB / 0.5114 GB, free: 2.867 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.1655, allocations: 4 kB / 0.5114 GB, free: 2.863 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/0.1656, allocations: 4 kB / 0.5114 GB, free: 2.859 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.571e-05/0.1656, allocations: 3.984 kB / 0.5114 GB, free: 2.855 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001284/0.1669, allocations: 0.751 MB / 0.5121 GB, free: 2.055 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.696e-06/0.1669, allocations: 0 / 0.5121 GB, free: 2.055 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.535e-05/0.1669, allocations: 16.25 kB / 0.5121 GB, free: 2.039 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.1669, allocations: 0 / 0.5121 GB, free: 2.039 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.547e-05/0.167, allocations: 15.98 kB / 0.5121 GB, free: 2.023 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.167, allocations: 4 kB / 0.5121 GB, free: 2.02 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/0.167, allocations: 3.984 kB / 0.5121 GB, free: 2.016 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008072/0.1678, allocations: 497.3 kB / 0.5126 GB, free: 1.504 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.138e-05/0.1678, allocations: 35.78 kB / 0.5126 GB, free: 1.469 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.119e-05/0.1679, allocations: 0 / 0.5126 GB, free: 1.469 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001134/0.168, allocations: 11.98 kB / 0.5127 GB, free: 1.457 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.243e-05/0.1681, allocations: 19.97 kB / 0.5127 GB, free: 1.438 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.049e-05/0.1681, allocations: 15.98 kB / 0.5127 GB, free: 1.422 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001268/0.1682, allocations: 136 kB / 0.5128 GB, free: 1.289 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1682, allocations: 0 / 0.5128 GB, free: 1.289 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006046/0.1688, allocations: 127.6 kB / 0.5129 GB, free: 1.164 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.2707/0.4395, allocations: 1.225 MB / 0.5141 GB, free: 21.56 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000797/0.4403, allocations: 293.6 kB / 0.5144 GB, free: 21.56 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.4404, allocations: 3.562 kB / 0.5144 GB, free: 21.56 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002098/0.4406, allocations: 122.9 kB / 0.5145 GB, free: 21.56 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005283/0.4411, allocations: 60.23 kB / 0.5146 GB, free: 21.56 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003178/0.4443, allocations: 3.032 MB / 0.5176 GB, free: 19.8 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002131/0.4445, allocations: 0.7872 MB / 0.5183 GB, free: 19.1 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001239/0.4446, allocations: 42.45 kB / 0.5184 GB, free: 19.09 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001195/0.4447, allocations: 91.2 kB / 0.5185 GB, free: 19.08 MB / 382.1 MB Notification: Performance of SimCode: time 8.81e-07/0.4447, allocations: 2.469 kB / 0.5185 GB, free: 19.08 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03151/0.4762, allocations: 7.305 MB / 0.5256 GB, free: 18.22 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_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 \"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.4448540979647078] Failed to read output from testmodel.py, exit status != 0: 0.9008643539855257 0.914809632 0.758355274 Calling exit ...