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.001327/0.001327, allocations: 114.2 kB / 19.74 MB, free: 2.164 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.00146/0.00146, allocations: 216.4 kB / 23.05 MB, free: 5.004 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.52/1.52, allocations: 230.6 MB / 256.8 MB, free: 8.027 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.06614/0.06614, allocations: 12.22 MB / 325.5 MB, free: 7.285 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.001969/0.001969, allocations: 63.89 kB / 453.4 MB, free: 9.043 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1152, allocations: 56.41 MB / 0.4978 GB, free: 0.5391 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger): time 0.005033/0.1202, allocations: 2.939 MB / 0.5007 GB, free: 13.59 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001544/0.1218, allocations: 0.7708 MB / 0.5015 GB, free: 12.82 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001284/0.1219, allocations: 7.938 kB / 0.5015 GB, free: 12.81 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002734/0.1222, allocations: 71.33 kB / 0.5015 GB, free: 12.74 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001663/0.1224, allocations: 47.59 kB / 0.5016 GB, free: 12.69 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.0006844/0.123, allocations: 235.3 kB / 0.5018 GB, free: 12.46 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004073/0.1234, allocations: 319.2 kB / 0.5021 GB, free: 12.15 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002634/0.1237, allocations: 117.6 kB / 0.5022 GB, free: 12.03 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001685/0.1239, allocations: 159.4 kB / 0.5024 GB, free: 11.87 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000318/0.1242, allocations: 191.1 kB / 0.5026 GB, free: 11.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.054e-05/0.1242, allocations: 36 kB / 0.5026 GB, free: 11.65 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002393/0.1245, allocations: 155.9 kB / 0.5027 GB, free: 11.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001366/0.1246, allocations: 119.6 kB / 0.5028 GB, free: 11.38 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001659/0.1248, allocations: 171.1 kB / 0.503 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006276/0.1254, allocations: 0.5174 MB / 0.5035 GB, free: 10.69 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.1254, allocations: 4 kB / 0.5035 GB, free: 10.69 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1254, allocations: 0 / 0.5035 GB, free: 10.69 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.1254, allocations: 0 / 0.5035 GB, free: 10.69 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.001511/0.1269, allocations: 0.8058 MB / 0.5043 GB, free: 9.828 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.127, allocations: 8.031 kB / 0.5043 GB, free: 9.82 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.704e-05/0.1271, allocations: 70.72 kB / 0.5044 GB, free: 9.742 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.315e-05/0.1271, allocations: 44.69 kB / 0.5044 GB, free: 9.699 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003278/0.1275, allocations: 237.8 kB / 0.5047 GB, free: 9.441 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.995e-05/0.1275, allocations: 33.02 kB / 0.5047 GB, free: 9.41 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.454e-05/0.1276, allocations: 32.38 kB / 0.5047 GB, free: 9.379 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006507/0.1282, allocations: 403.7 kB / 0.5051 GB, free: 8.961 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.674e-05/0.1282, allocations: 3.938 kB / 0.5051 GB, free: 8.957 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.994e-05/0.1283, allocations: 20 kB / 0.5051 GB, free: 8.938 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.878e-06/0.1283, allocations: 8 kB / 0.5051 GB, free: 8.93 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003877/0.1287, allocations: 205.6 kB / 0.5053 GB, free: 8.727 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001577/0.1303, allocations: 1.272 MB / 0.5066 GB, free: 7.387 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004491/0.1307, allocations: 265.1 kB / 0.5068 GB, free: 7.082 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001929/0.1309, allocations: 124.2 kB / 0.5069 GB, free: 6.945 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.832e-05/0.1309, allocations: 4 kB / 0.5069 GB, free: 6.941 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003561/0.1313, allocations: 232.6 kB / 0.5072 GB, free: 6.68 MB / 382.1 MB Notification: Performance of pre-optimization done (n=34): time 1.513e-06/0.1313, allocations: 0 / 0.5072 GB, free: 6.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.0009374/0.1322, allocations: 479 kB / 0.5076 GB, free: 6.211 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001429/0.1324, allocations: 182.3 kB / 0.5078 GB, free: 5.996 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002574/0.1326, allocations: 231.6 kB / 0.508 GB, free: 5.762 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.817e-05/0.1327, allocations: 45.69 kB / 0.5081 GB, free: 5.711 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001461/0.1328, allocations: 188.8 kB / 0.5082 GB, free: 5.52 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.853e-05/0.1329, allocations: 83.42 kB / 0.5083 GB, free: 5.438 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001492/0.1331, allocations: 110.1 kB / 0.5084 GB, free: 5.324 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001875/0.1332, allocations: 346.7 kB / 0.5088 GB, free: 4.977 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001989/0.1334, allocations: 104.9 kB / 0.5089 GB, free: 4.875 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003433/0.1338, allocations: 273.8 kB / 0.5091 GB, free: 4.535 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005299/0.1343, allocations: 400.1 kB / 0.5095 GB, free: 4.07 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/0.1343, allocations: 8 kB / 0.5095 GB, free: 4.062 MB / 382.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0006772/0.135, allocations: 421.5 kB / 0.5099 GB, free: 3.645 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.135, allocations: 12.03 kB / 0.5099 GB, free: 3.633 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.997e-05/0.135, allocations: 7.984 kB / 0.5099 GB, free: 3.625 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.325e-05/0.1351, allocations: 12.03 kB / 0.5099 GB, free: 3.613 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002294/0.1353, allocations: 67.78 kB / 0.51 GB, free: 3.547 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.596e-05/0.1353, allocations: 11.94 kB / 0.51 GB, free: 3.535 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001554/0.1355, allocations: 31.78 kB / 0.51 GB, free: 3.504 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.293e-05/0.1355, allocations: 23.98 kB / 0.5101 GB, free: 3.48 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.0002417/0.1357, allocations: 206.9 kB / 0.5103 GB, free: 3.27 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.352e-05/0.1358, allocations: 24.05 kB / 0.5103 GB, free: 3.246 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005328/0.1363, allocations: 307.3 kB / 0.5106 GB, free: 2.934 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.321e-06/0.1363, allocations: 4 kB / 0.5106 GB, free: 2.93 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.1363, allocations: 0 / 0.5106 GB, free: 2.93 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.045e-05/0.1363, allocations: 7.984 kB / 0.5106 GB, free: 2.922 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001085/0.1374, allocations: 0.751 MB / 0.5113 GB, free: 2.121 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.1374, allocations: 0 / 0.5113 GB, free: 2.121 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.65e-05/0.1375, allocations: 15.92 kB / 0.5113 GB, free: 2.105 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.94e-06/0.1375, allocations: 4 kB / 0.5113 GB, free: 2.102 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.931e-05/0.1375, allocations: 11.98 kB / 0.5114 GB, free: 2.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.1375, allocations: 4 kB / 0.5114 GB, free: 2.086 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.1375, allocations: 0 / 0.5114 GB, free: 2.086 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007014/0.1382, allocations: 0.4897 MB / 0.5118 GB, free: 1.57 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.413e-05/0.1383, allocations: 27.8 kB / 0.5119 GB, free: 1.543 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.715e-05/0.1383, allocations: 7.938 kB / 0.5119 GB, free: 1.535 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001098/0.1384, allocations: 11.98 kB / 0.5119 GB, free: 1.523 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.266e-05/0.1385, allocations: 19.97 kB / 0.5119 GB, free: 1.504 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.616e-05/0.1385, allocations: 15.98 kB / 0.5119 GB, free: 1.488 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001107/0.1386, allocations: 136 kB / 0.512 GB, free: 1.355 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1386, allocations: 4 kB / 0.5121 GB, free: 1.352 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005242/0.1392, allocations: 119.7 kB / 0.5122 GB, free: 1.234 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.001742/0.1409, allocations: 1.242 MB / 0.5134 GB, free: 12 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.2081/0.349, allocations: 287.9 kB / 0.5137 GB, free: 21.52 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.349, allocations: 0.9062 kB / 0.5137 GB, free: 21.52 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002225/0.3492, allocations: 123.7 kB / 0.5138 GB, free: 21.52 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005638/0.3497, allocations: 51.92 kB / 0.5138 GB, free: 21.52 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003282/0.353, allocations: 3.02 MB / 0.5168 GB, free: 19.76 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002393/0.3533, allocations: 0.7853 MB / 0.5175 GB, free: 19.06 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001316/0.3534, allocations: 48.69 kB / 0.5176 GB, free: 19.05 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001318/0.3535, allocations: 90.56 kB / 0.5177 GB, free: 19.04 MB / 382.1 MB Notification: Performance of SimCode: time 8.31e-07/0.3535, allocations: 0 / 0.5177 GB, free: 19.04 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03964/0.3932, allocations: 7.283 MB / 0.5248 GB, free: 18.24 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.3473003760009306] Failed to read output from testmodel.py, exit status != 0: 0.8346338880000985 0.856027306 0.726390676 Calling exit ...