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.00191/0.00191, allocations: 120.7 kB / 17.89 MB, free: 5.07 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.002726/0.002726, allocations: 212.5 kB / 20.84 MB, free: 2.125 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.546/1.546, allocations: 230.6 MB / 254.2 MB, free: 15.12 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.06197/0.06197, allocations: 12.22 MB / 322.5 MB, free: 13.29 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.001823/0.001823, allocations: 73.34 kB / 448.8 MB, free: 38.24 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1184, allocations: 56.36 MB / 0.4933 GB, free: 1.684 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger): time 0.004076/0.1225, allocations: 2.847 MB / 0.4961 GB, free: 14.82 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001507/0.124, allocations: 0.7628 MB / 0.4969 GB, free: 14.06 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001236/0.1241, allocations: 15.88 kB / 0.4969 GB, free: 14.04 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002735/0.1244, allocations: 63.34 kB / 0.4969 GB, free: 13.98 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001712/0.1246, allocations: 47.58 kB / 0.497 GB, free: 13.93 MB / 366.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.0006383/0.1252, allocations: 219.4 kB / 0.4972 GB, free: 13.72 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004074/0.1256, allocations: 327.2 kB / 0.4975 GB, free: 13.4 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003021/0.1259, allocations: 137.2 kB / 0.4976 GB, free: 13.26 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001801/0.1261, allocations: 151.5 kB / 0.4978 GB, free: 13.11 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002697/0.1264, allocations: 187.2 kB / 0.498 GB, free: 12.93 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.295e-05/0.1264, allocations: 32 kB / 0.498 GB, free: 12.89 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002779/0.1267, allocations: 159.8 kB / 0.4981 GB, free: 12.74 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001552/0.1269, allocations: 111.7 kB / 0.4982 GB, free: 12.63 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001883/0.1271, allocations: 179 kB / 0.4984 GB, free: 12.45 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007255/0.1278, allocations: 0.5135 MB / 0.4989 GB, free: 11.94 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.1278, allocations: 0 / 0.4989 GB, free: 11.94 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1278, allocations: 0 / 0.4989 GB, free: 11.94 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.538e-06/0.1278, allocations: 0 / 0.4989 GB, free: 11.94 MB / 366.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.001607/0.1294, allocations: 0.8928 MB / 0.4998 GB, free: 10.97 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.524e-05/0.1295, allocations: 8.031 kB / 0.4998 GB, free: 10.96 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.899e-05/0.1295, allocations: 8.844 kB / 0.4998 GB, free: 10.96 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001213/0.1296, allocations: 74.7 kB / 0.4999 GB, free: 10.88 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001093/0.1297, allocations: 44.7 kB / 0.4999 GB, free: 10.83 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003732/0.1301, allocations: 287.8 kB / 0.5002 GB, free: 10.51 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.706e-05/0.1301, allocations: 29.03 kB / 0.5002 GB, free: 10.48 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.718e-05/0.1302, allocations: 32.38 kB / 0.5002 GB, free: 10.45 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007489/0.131, allocations: 403.5 kB / 0.5006 GB, free: 10.04 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.735e-05/0.131, allocations: 7.938 kB / 0.5006 GB, free: 10.03 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.018e-05/0.131, allocations: 19.92 kB / 0.5007 GB, free: 10.01 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.229e-05/0.131, allocations: 8 kB / 0.5007 GB, free: 10 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000454/0.1315, allocations: 209.7 kB / 0.5009 GB, free: 9.793 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001733/0.1332, allocations: 1.307 MB / 0.5021 GB, free: 8.414 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005058/0.1337, allocations: 265 kB / 0.5024 GB, free: 8.109 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002148/0.1339, allocations: 120.2 kB / 0.5025 GB, free: 7.977 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.701e-05/0.134, allocations: 11.98 kB / 0.5025 GB, free: 7.965 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004119/0.1344, allocations: 232.5 kB / 0.5027 GB, free: 7.703 MB / 366.1 MB Notification: Performance of pre-optimization done (n=34): time 2.064e-06/0.1344, allocations: 3.938 kB / 0.5027 GB, free: 7.699 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.001163/0.1356, allocations: 480.1 kB / 0.5032 GB, free: 7.227 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001474/0.1357, allocations: 182.3 kB / 0.5034 GB, free: 7.012 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002744/0.136, allocations: 227.6 kB / 0.5036 GB, free: 6.781 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.799e-05/0.136, allocations: 41.7 kB / 0.5036 GB, free: 6.734 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001558/0.1362, allocations: 188.8 kB / 0.5038 GB, free: 6.543 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.276e-05/0.1363, allocations: 87.41 kB / 0.5039 GB, free: 6.457 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001654/0.1364, allocations: 114.1 kB / 0.504 GB, free: 6.34 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001798/0.1366, allocations: 338.8 kB / 0.5043 GB, free: 6 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000216/0.1368, allocations: 109.1 kB / 0.5044 GB, free: 5.891 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003494/0.1372, allocations: 274.1 kB / 0.5047 GB, free: 5.551 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006005/0.1378, allocations: 404.5 kB / 0.5051 GB, free: 5.082 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.1378, allocations: 0 / 0.5051 GB, free: 5.082 MB / 366.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007588/0.1385, allocations: 429.4 kB / 0.5055 GB, free: 4.656 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.372e-05/0.1386, allocations: 8 kB / 0.5055 GB, free: 4.648 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.515e-05/0.1386, allocations: 11.94 kB / 0.5055 GB, free: 4.637 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.521e-05/0.1386, allocations: 8 kB / 0.5055 GB, free: 4.629 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002548/0.1389, allocations: 59.84 kB / 0.5056 GB, free: 4.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.568e-05/0.1389, allocations: 16.02 kB / 0.5056 GB, free: 4.555 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001646/0.139, allocations: 35.72 kB / 0.5056 GB, free: 4.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.688e-05/0.1391, allocations: 24 kB / 0.5056 GB, free: 4.496 MB / 366.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.0002682/0.1394, allocations: 215.1 kB / 0.5059 GB, free: 4.273 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.767e-05/0.1394, allocations: 23.86 kB / 0.5059 GB, free: 4.25 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005887/0.14, allocations: 299.3 kB / 0.5062 GB, free: 3.953 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-06/0.14, allocations: 4 kB / 0.5062 GB, free: 3.949 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.14, allocations: 4 kB / 0.5062 GB, free: 3.945 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.14, allocations: 0 / 0.5062 GB, free: 3.945 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001166/0.1412, allocations: 0.7754 MB / 0.5069 GB, free: 3.113 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.701e-05/0.1412, allocations: 0 / 0.5069 GB, free: 3.113 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.984e-05/0.1413, allocations: 8 kB / 0.5069 GB, free: 3.105 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.07e-06/0.1413, allocations: 4 kB / 0.5069 GB, free: 3.102 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.789e-05/0.1413, allocations: 11.98 kB / 0.507 GB, free: 3.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.783e-06/0.1413, allocations: 4 kB / 0.507 GB, free: 3.086 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.621e-06/0.1413, allocations: 7.922 kB / 0.507 GB, free: 3.078 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007808/0.1421, allocations: 0.4889 MB / 0.5074 GB, free: 2.566 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.887e-05/0.1422, allocations: 104.9 kB / 0.5075 GB, free: 2.445 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.087e-05/0.1422, allocations: 4.062 kB / 0.5075 GB, free: 2.441 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001188/0.1423, allocations: 15.98 kB / 0.5076 GB, free: 2.426 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.877e-05/0.1424, allocations: 27.84 kB / 0.5076 GB, free: 2.398 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.344e-05/0.1424, allocations: 16 kB / 0.5076 GB, free: 2.383 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001247/0.1426, allocations: 135.1 kB / 0.5077 GB, free: 2.25 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1426, allocations: 0 / 0.5077 GB, free: 2.25 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005441/0.1431, allocations: 127.5 kB / 0.5079 GB, free: 2.125 MB / 366.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.001847/0.145, allocations: 1.231 MB / 0.5091 GB, free: 0.9102 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007146/0.1457, allocations: 299.7 kB / 0.5093 GB, free: 0.6172 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.1457, allocations: 0 / 0.5093 GB, free: 0.6172 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002821/0.146, allocations: 123.8 kB / 0.5095 GB, free: 0.4961 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005031/0.1465, allocations: 59.89 kB / 0.5095 GB, free: 456 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004598/0.1511, allocations: 3.039 MB / 0.5125 GB, free: 13.16 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004535/0.1515, allocations: 0.7797 MB / 0.5132 GB, free: 12.35 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001489/0.1517, allocations: 46.94 kB / 0.5133 GB, free: 12.3 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001498/0.1518, allocations: 91.52 kB / 0.5134 GB, free: 12.21 MB / 382.1 MB Notification: Performance of SimCode: time 1.042e-06/0.1518, allocations: 3.938 kB / 0.5134 GB, free: 12.21 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0275/0.1793, allocations: 7.01 MB / 0.5202 GB, free: 5.445 MB / 382.1 MB Error: Error building simulator. Build log: cmd: cd 'Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemoryExternalTrigger.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/OpenModelica/OMCompiler/build/bin/../include/omc/c/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/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemoryExternalTrigger.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 \"Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemoryExternalTrigger\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemoryExternalTrigger.fmutmp/sources rt linked by target \"Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemoryExternalTrigger\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemoryExternalTrigger.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.262091349984985] Failed to read output from testmodel.py, exit status != 0: 0.5995421130210161 0.6299036729999999 0.49681543799999994 Calling exit ...