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.00174/0.00174, allocations: 93.91 kB / 20.52 MB, free: 1.328 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.001536/0.001536, allocations: 213 kB / 23.82 MB, free: 4.484 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.502/1.502, allocations: 230.6 MB / 257.6 MB, free: 7.801 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.06403/0.06403, allocations: 12.22 MB / 326.2 MB, free: 7.039 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.002099/0.002099, allocations: 59.91 kB / 454.1 MB, free: 8.84 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1383, allocations: 56.39 MB / 0.4985 GB, free: 356 kB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger): time 0.005592/0.1439, allocations: 2.88 MB / 0.5013 GB, free: 13.46 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001641/0.1455, allocations: 0.7319 MB / 0.502 GB, free: 12.72 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001845/0.1457, allocations: 7.938 kB / 0.502 GB, free: 12.71 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003319/0.146, allocations: 63.34 kB / 0.5021 GB, free: 12.65 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002347/0.1463, allocations: 51.58 kB / 0.5022 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.0007555/0.147, allocations: 235.4 kB / 0.5024 GB, free: 12.37 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004579/0.1475, allocations: 319.2 kB / 0.5027 GB, free: 12.06 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002686/0.1477, allocations: 117.6 kB / 0.5028 GB, free: 11.94 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002233/0.148, allocations: 159.5 kB / 0.5029 GB, free: 11.78 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003169/0.1483, allocations: 187.1 kB / 0.5031 GB, free: 11.6 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.861e-05/0.1484, allocations: 39.94 kB / 0.5032 GB, free: 11.56 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002857/0.1487, allocations: 155.9 kB / 0.5033 GB, free: 11.41 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001585/0.1488, allocations: 115.7 kB / 0.5034 GB, free: 11.29 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001736/0.149, allocations: 139.2 kB / 0.5036 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007341/0.1497, allocations: 0.5174 MB / 0.5041 GB, free: 10.64 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.1497, allocations: 7.938 kB / 0.5041 GB, free: 10.63 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1497, allocations: 4 kB / 0.5041 GB, free: 10.62 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.085e-05/0.1497, allocations: 0 / 0.5041 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.001697/0.1514, allocations: 0.8019 MB / 0.5049 GB, free: 9.77 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.1515, allocations: 8.031 kB / 0.5049 GB, free: 9.762 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.784e-05/0.1515, allocations: 12.84 kB / 0.5049 GB, free: 9.75 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.225e-05/0.1516, allocations: 74.64 kB / 0.5049 GB, free: 9.668 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001076/0.1517, allocations: 48.64 kB / 0.505 GB, free: 9.621 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003655/0.1521, allocations: 233.9 kB / 0.5052 GB, free: 9.367 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.405e-05/0.1521, allocations: 25.03 kB / 0.5052 GB, free: 9.344 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.492e-05/0.1522, allocations: 40.36 kB / 0.5053 GB, free: 9.305 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007258/0.1529, allocations: 399.5 kB / 0.5057 GB, free: 8.887 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.1529, allocations: 3.984 kB / 0.5057 GB, free: 8.883 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.813e-05/0.153, allocations: 19.98 kB / 0.5057 GB, free: 8.863 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.257e-05/0.153, allocations: 8 kB / 0.5057 GB, free: 8.855 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004342/0.1534, allocations: 213.6 kB / 0.5059 GB, free: 8.648 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001702/0.1551, allocations: 1.198 MB / 0.5071 GB, free: 7.383 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004865/0.1556, allocations: 257.1 kB / 0.5073 GB, free: 7.086 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000223/0.1558, allocations: 124.2 kB / 0.5074 GB, free: 6.949 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.527e-05/0.1559, allocations: 8 kB / 0.5074 GB, free: 6.941 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003802/0.1562, allocations: 224.6 kB / 0.5076 GB, free: 6.688 MB / 382.1 MB Notification: Performance of pre-optimization done (n=34): time 2.665e-06/0.1562, allocations: 0 / 0.5076 GB, free: 6.688 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.001001/0.1572, allocations: 491 kB / 0.5081 GB, free: 6.203 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001337/0.1574, allocations: 182 kB / 0.5083 GB, free: 5.988 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002634/0.1576, allocations: 231.6 kB / 0.5085 GB, free: 5.75 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.738e-05/0.1577, allocations: 33.7 kB / 0.5085 GB, free: 5.711 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001519/0.1578, allocations: 192.8 kB / 0.5087 GB, free: 5.516 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.075e-05/0.1579, allocations: 87.66 kB / 0.5088 GB, free: 5.43 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001745/0.1581, allocations: 114.1 kB / 0.5089 GB, free: 5.312 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001679/0.1583, allocations: 338.8 kB / 0.5092 GB, free: 4.973 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002165/0.1585, allocations: 104.9 kB / 0.5093 GB, free: 4.871 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003427/0.1588, allocations: 281.2 kB / 0.5096 GB, free: 4.527 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000557/0.1594, allocations: 408 kB / 0.51 GB, free: 4.055 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.1594, allocations: 0 / 0.51 GB, free: 4.055 MB / 382.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007396/0.1601, allocations: 429.3 kB / 0.5104 GB, free: 3.629 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.1602, allocations: 8 kB / 0.5104 GB, free: 3.621 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/0.1602, allocations: 7.938 kB / 0.5104 GB, free: 3.613 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.342e-05/0.1602, allocations: 8 kB / 0.5104 GB, free: 3.605 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002499/0.1604, allocations: 63.84 kB / 0.5105 GB, free: 3.543 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.904e-05/0.1605, allocations: 15.92 kB / 0.5105 GB, free: 3.527 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001725/0.1606, allocations: 35.78 kB / 0.5105 GB, free: 3.492 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.764e-05/0.1607, allocations: 23.94 kB / 0.5106 GB, free: 3.469 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.000301/0.161, allocations: 207.1 kB / 0.5108 GB, free: 3.258 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.199e-05/0.161, allocations: 27.84 kB / 0.5108 GB, free: 3.23 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005729/0.1616, allocations: 299.4 kB / 0.5111 GB, free: 2.93 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.899e-06/0.1616, allocations: 4 kB / 0.5111 GB, free: 2.926 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.1616, allocations: 4 kB / 0.5111 GB, free: 2.922 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.1616, allocations: 0 / 0.5111 GB, free: 2.922 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001108/0.1627, allocations: 0.7237 MB / 0.5118 GB, free: 2.148 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.1628, allocations: 4 kB / 0.5118 GB, free: 2.145 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.447e-05/0.1628, allocations: 19.92 kB / 0.5118 GB, free: 2.125 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.036e-05/0.1628, allocations: 4 kB / 0.5118 GB, free: 2.121 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.479e-05/0.1629, allocations: 8.031 kB / 0.5118 GB, free: 2.113 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-06/0.1629, allocations: 4.062 kB / 0.5118 GB, free: 2.109 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.915e-06/0.1629, allocations: 7.984 kB / 0.5118 GB, free: 2.102 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007278/0.1636, allocations: 0.4974 MB / 0.5123 GB, free: 1.578 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.455e-05/0.1636, allocations: 23.8 kB / 0.5123 GB, free: 1.555 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.556e-05/0.1637, allocations: 11.98 kB / 0.5124 GB, free: 1.543 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000117/0.1638, allocations: 4 kB / 0.5124 GB, free: 1.539 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.231e-05/0.1639, allocations: 23.95 kB / 0.5124 GB, free: 1.516 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.073e-05/0.1639, allocations: 20 kB / 0.5124 GB, free: 1.496 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001383/0.164, allocations: 132 kB / 0.5125 GB, free: 1.367 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.164, allocations: 0 / 0.5125 GB, free: 1.367 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005553/0.1646, allocations: 131.5 kB / 0.5126 GB, free: 1.238 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.00177/0.1664, allocations: 1.253 MB / 0.5139 GB, free: 12 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.2473/0.4137, allocations: 288.6 kB / 0.5141 GB, free: 21.17 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.4137, allocations: 0 / 0.5141 GB, free: 21.17 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002254/0.4139, allocations: 125.6 kB / 0.5143 GB, free: 21.17 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006025/0.4145, allocations: 46.23 kB / 0.5143 GB, free: 21.17 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003205/0.4177, allocations: 3.03 MB / 0.5173 GB, free: 19.39 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001851/0.4179, allocations: 176.1 kB / 0.5174 GB, free: 19.3 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001367/0.418, allocations: 42.33 kB / 0.5175 GB, free: 19.3 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001321/0.4182, allocations: 100.3 kB / 0.5176 GB, free: 19.29 MB / 382.1 MB Notification: Performance of SimCode: time 1.182e-06/0.4182, allocations: 0 / 0.5176 GB, free: 19.29 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03096/0.4491, allocations: 7.391 MB / 0.5248 GB, free: 18.32 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.478327955934219] Failed to read output from testmodel.py, exit status != 0: 0.898266336065717 0.91889945 0.765167417 Calling exit ...