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.00144/0.00144, allocations: 111.7 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.001515/0.001515, allocations: 218.8 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.547/1.547, allocations: 230.6 MB / 256.8 MB, free: 8.02 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 / 325.5 MB, free: 7.262 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.002167/0.002167, allocations: 67.91 kB / 453.4 MB, free: 9.023 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1158, allocations: 56.41 MB / 0.4978 GB, free: 0.5234 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger): time 0.004902/0.1207, allocations: 2.939 MB / 0.5007 GB, free: 13.57 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001485/0.1222, allocations: 0.7748 MB / 0.5015 GB, free: 12.8 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001018/0.1223, allocations: 7.938 kB / 0.5015 GB, free: 12.79 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002583/0.1226, allocations: 63.34 kB / 0.5015 GB, free: 12.73 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001692/0.1228, allocations: 55.5 kB / 0.5016 GB, free: 12.67 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.0006293/0.1234, allocations: 227.4 kB / 0.5018 GB, free: 12.45 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003983/0.1238, allocations: 315.2 kB / 0.5021 GB, free: 12.14 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002621/0.1241, allocations: 121.6 kB / 0.5022 GB, free: 12.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001719/0.1242, allocations: 159.5 kB / 0.5024 GB, free: 11.86 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002795/0.1245, allocations: 191.1 kB / 0.5025 GB, free: 11.67 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.113e-05/0.1246, allocations: 39.94 kB / 0.5026 GB, free: 11.63 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002513/0.1248, allocations: 163.8 kB / 0.5027 GB, free: 11.47 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001394/0.125, allocations: 115.7 kB / 0.5029 GB, free: 11.36 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001767/0.1251, allocations: 167 kB / 0.503 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006737/0.1258, allocations: 0.5174 MB / 0.5035 GB, free: 10.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.1258, allocations: 4 kB / 0.5035 GB, free: 10.67 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1258, allocations: 0 / 0.5035 GB, free: 10.67 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.017e-06/0.1258, allocations: 4 kB / 0.5035 GB, free: 10.67 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.00146/0.1273, allocations: 0.8019 MB / 0.5043 GB, free: 9.812 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.1273, allocations: 8.031 kB / 0.5043 GB, free: 9.805 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001025/0.1274, allocations: 74.7 kB / 0.5044 GB, free: 9.723 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.031e-05/0.1275, allocations: 40.7 kB / 0.5044 GB, free: 9.684 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003363/0.1279, allocations: 241.8 kB / 0.5047 GB, free: 9.422 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.168e-05/0.1279, allocations: 32.97 kB / 0.5047 GB, free: 9.391 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.025e-05/0.1279, allocations: 36.36 kB / 0.5047 GB, free: 9.355 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006796/0.1286, allocations: 399.8 kB / 0.5051 GB, free: 8.941 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.728e-05/0.1286, allocations: 7.875 kB / 0.5051 GB, free: 8.934 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.4e-05/0.1287, allocations: 15.98 kB / 0.5051 GB, free: 8.918 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.23e-05/0.1287, allocations: 8 kB / 0.5051 GB, free: 8.91 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004094/0.1291, allocations: 213.6 kB / 0.5053 GB, free: 8.699 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001631/0.1307, allocations: 1.257 MB / 0.5066 GB, free: 7.375 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004558/0.1312, allocations: 269 kB / 0.5068 GB, free: 7.066 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002241/0.1314, allocations: 124.2 kB / 0.5069 GB, free: 6.93 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.97e-05/0.1315, allocations: 11.94 kB / 0.507 GB, free: 6.918 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000375/0.1318, allocations: 228.6 kB / 0.5072 GB, free: 6.66 MB / 382.1 MB Notification: Performance of pre-optimization done (n=34): time 2.064e-06/0.1318, allocations: 0 / 0.5072 GB, free: 6.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.00105/0.1329, allocations: 480.8 kB / 0.5076 GB, free: 6.188 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001525/0.133, allocations: 178.1 kB / 0.5078 GB, free: 5.977 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002785/0.1333, allocations: 227.6 kB / 0.508 GB, free: 5.746 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.947e-05/0.1334, allocations: 41.7 kB / 0.5081 GB, free: 5.699 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000173/0.1335, allocations: 189 kB / 0.5082 GB, free: 5.508 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.029e-05/0.1336, allocations: 91.41 kB / 0.5083 GB, free: 5.418 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001778/0.1338, allocations: 110.1 kB / 0.5084 GB, free: 5.305 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002012/0.134, allocations: 338.8 kB / 0.5087 GB, free: 4.965 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002486/0.1342, allocations: 104.9 kB / 0.5088 GB, free: 4.863 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004031/0.1347, allocations: 273.5 kB / 0.5091 GB, free: 4.523 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006385/0.1353, allocations: 404 kB / 0.5095 GB, free: 4.055 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.496e-06/0.1353, allocations: 4 kB / 0.5095 GB, free: 4.051 MB / 382.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007931/0.1361, allocations: 437 kB / 0.5099 GB, free: 3.617 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/0.1361, allocations: 8 kB / 0.5099 GB, free: 3.609 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.457e-05/0.1361, allocations: 4 kB / 0.5099 GB, free: 3.605 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.502e-05/0.1362, allocations: 12.59 kB / 0.5099 GB, free: 3.594 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002518/0.1364, allocations: 63.84 kB / 0.51 GB, free: 3.531 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.773e-05/0.1364, allocations: 12 kB / 0.51 GB, free: 3.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001765/0.1366, allocations: 39.77 kB / 0.51 GB, free: 3.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.307e-05/0.1366, allocations: 16 kB / 0.5101 GB, free: 3.465 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.0002888/0.1369, allocations: 203.1 kB / 0.5103 GB, free: 3.258 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.878e-05/0.137, allocations: 27.84 kB / 0.5103 GB, free: 3.23 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005679/0.1375, allocations: 315.3 kB / 0.5106 GB, free: 2.91 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.575e-06/0.1376, allocations: 4 kB / 0.5106 GB, free: 2.906 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.1376, allocations: 0 / 0.5106 GB, free: 2.906 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.1376, allocations: 4 kB / 0.5106 GB, free: 2.902 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001167/0.1387, allocations: 0.7471 MB / 0.5113 GB, free: 2.105 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.1387, allocations: 0 / 0.5113 GB, free: 2.105 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.03e-05/0.1388, allocations: 11.98 kB / 0.5113 GB, free: 2.094 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.733e-06/0.1388, allocations: 4 kB / 0.5113 GB, free: 2.09 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.984e-05/0.1388, allocations: 15.98 kB / 0.5114 GB, free: 2.074 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.963e-06/0.1388, allocations: 7.938 kB / 0.5114 GB, free: 2.066 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.1388, allocations: 0 / 0.5114 GB, free: 2.066 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007287/0.1396, allocations: 497.4 kB / 0.5118 GB, free: 1.555 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.847e-05/0.1396, allocations: 27.8 kB / 0.5119 GB, free: 1.527 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.016e-05/0.1397, allocations: 7.984 kB / 0.5119 GB, free: 1.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001123/0.1398, allocations: 8 kB / 0.5119 GB, free: 1.512 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.113e-05/0.1398, allocations: 27.89 kB / 0.5119 GB, free: 1.484 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.516e-05/0.1399, allocations: 16 kB / 0.5119 GB, free: 1.469 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001114/0.14, allocations: 132 kB / 0.512 GB, free: 1.34 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.14, allocations: 0 / 0.512 GB, free: 1.34 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005227/0.1405, allocations: 123.6 kB / 0.5122 GB, free: 1.219 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.2711/0.4116, allocations: 1.24 MB / 0.5134 GB, free: 21.47 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008782/0.4125, allocations: 291.3 kB / 0.5137 GB, free: 21.47 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.4125, allocations: 0.8125 kB / 0.5137 GB, free: 21.47 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002305/0.4127, allocations: 120.3 kB / 0.5138 GB, free: 21.47 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005054/0.4132, allocations: 53.88 kB / 0.5138 GB, free: 21.47 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003452/0.4167, allocations: 3.021 MB / 0.5168 GB, free: 19.71 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002504/0.4169, allocations: 0.7881 MB / 0.5175 GB, free: 19.02 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000136/0.417, allocations: 43.52 kB / 0.5176 GB, free: 19.01 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000131/0.4172, allocations: 94.55 kB / 0.5177 GB, free: 19 MB / 382.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4172, allocations: 3.812 kB / 0.5177 GB, free: 19 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04205/0.4592, allocations: 7.275 MB / 0.5248 GB, free: 18.2 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.4255787478759885] Failed to read output from testmodel.py, exit status != 0: 0.8755867490544915 0.897469091 0.7676792720000001 Calling exit ...