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.001855/0.001855, allocations: 108.3 kB / 19.75 MB, free: 1.879 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.00227/0.00227, allocations: 221.3 kB / 23.03 MB, free: 5.016 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.504/1.504, allocations: 230.6 MB / 256.8 MB, free: 8.023 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.06394/0.06394, allocations: 12.22 MB / 325.4 MB, free: 7.09 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.002088/0.002088, allocations: 63.89 kB / 453.3 MB, free: 8.867 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1101, allocations: 56.39 MB / 0.4977 GB, free: 384 kB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger): time 0.004923/0.115, allocations: 2.877 MB / 0.5006 GB, free: 13.49 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001609/0.1166, allocations: 0.7436 MB / 0.5013 GB, free: 12.74 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001234/0.1167, allocations: 7.938 kB / 0.5013 GB, free: 12.73 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002833/0.117, allocations: 63.33 kB / 0.5013 GB, free: 12.67 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001918/0.1172, allocations: 51.58 kB / 0.5014 GB, free: 12.62 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.0006771/0.1179, allocations: 227.4 kB / 0.5016 GB, free: 12.4 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000408/0.1183, allocations: 323.2 kB / 0.5019 GB, free: 12.08 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002553/0.1185, allocations: 113.6 kB / 0.502 GB, free: 11.96 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001824/0.1187, allocations: 155.5 kB / 0.5022 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002526/0.119, allocations: 171.1 kB / 0.5023 GB, free: 11.64 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.529e-05/0.119, allocations: 36 kB / 0.5024 GB, free: 11.61 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002428/0.1193, allocations: 151.9 kB / 0.5025 GB, free: 11.46 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001421/0.1194, allocations: 123.5 kB / 0.5026 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001488/0.1196, allocations: 139.2 kB / 0.5028 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006242/0.1202, allocations: 0.5135 MB / 0.5033 GB, free: 10.69 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1202, allocations: 0 / 0.5033 GB, free: 10.69 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1202, allocations: 0 / 0.5033 GB, free: 10.69 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.294e-06/0.1202, allocations: 0 / 0.5033 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.001433/0.1216, allocations: 0.8019 MB / 0.5041 GB, free: 9.832 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.1217, allocations: 16.03 kB / 0.5041 GB, free: 9.816 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.682e-05/0.1218, allocations: 74.7 kB / 0.5041 GB, free: 9.734 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.811e-05/0.1219, allocations: 40.7 kB / 0.5042 GB, free: 9.695 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003592/0.1222, allocations: 246.3 kB / 0.5044 GB, free: 9.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.426e-05/0.1223, allocations: 29.03 kB / 0.5044 GB, free: 9.402 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.408e-05/0.1223, allocations: 28.38 kB / 0.5045 GB, free: 9.375 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006918/0.123, allocations: 403.7 kB / 0.5049 GB, free: 8.949 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.707e-05/0.123, allocations: 3.938 kB / 0.5049 GB, free: 8.945 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.632e-05/0.1231, allocations: 15.98 kB / 0.5049 GB, free: 8.93 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.192e-05/0.1231, allocations: 8 kB / 0.5049 GB, free: 8.922 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003981/0.1235, allocations: 213.6 kB / 0.5051 GB, free: 8.715 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001552/0.125, allocations: 1.206 MB / 0.5063 GB, free: 7.441 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004718/0.1255, allocations: 261.1 kB / 0.5065 GB, free: 7.141 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002008/0.1257, allocations: 128.2 kB / 0.5066 GB, free: 7 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.206e-05/0.1257, allocations: 4 kB / 0.5066 GB, free: 6.996 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003784/0.1261, allocations: 224.6 kB / 0.5069 GB, free: 6.742 MB / 382.1 MB Notification: Performance of pre-optimization done (n=34): time 1.934e-06/0.1261, allocations: 0 / 0.5069 GB, free: 6.742 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.0009288/0.127, allocations: 492.8 kB / 0.5073 GB, free: 6.258 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001243/0.1272, allocations: 178.1 kB / 0.5075 GB, free: 6.047 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000247/0.1274, allocations: 227.6 kB / 0.5077 GB, free: 5.816 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.431e-05/0.1275, allocations: 41.7 kB / 0.5077 GB, free: 5.77 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000163/0.1276, allocations: 184.8 kB / 0.5079 GB, free: 5.582 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001038/0.1277, allocations: 95.3 kB / 0.508 GB, free: 5.488 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001769/0.1279, allocations: 106.2 kB / 0.5081 GB, free: 5.379 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002356/0.1281, allocations: 338.8 kB / 0.5084 GB, free: 5.039 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002351/0.1284, allocations: 112.9 kB / 0.5085 GB, free: 4.93 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000395/0.1288, allocations: 269.5 kB / 0.5088 GB, free: 4.594 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006799/0.1294, allocations: 408.2 kB / 0.5092 GB, free: 4.121 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.069e-05/0.1295, allocations: 4 kB / 0.5092 GB, free: 4.117 MB / 382.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008003/0.1303, allocations: 428.8 kB / 0.5096 GB, free: 3.691 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.1303, allocations: 8 kB / 0.5096 GB, free: 3.684 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.1303, allocations: 4.656 kB / 0.5096 GB, free: 3.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.952e-05/0.1303, allocations: 11.94 kB / 0.5096 GB, free: 3.668 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002423/0.1306, allocations: 67.84 kB / 0.5097 GB, free: 3.602 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.716e-05/0.1306, allocations: 11.94 kB / 0.5097 GB, free: 3.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001627/0.1307, allocations: 39.77 kB / 0.5097 GB, free: 3.551 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.211e-05/0.1308, allocations: 20 kB / 0.5098 GB, free: 3.531 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.0002733/0.131, allocations: 199.1 kB / 0.51 GB, free: 3.328 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.303e-05/0.1311, allocations: 31.8 kB / 0.51 GB, free: 3.297 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005472/0.1317, allocations: 311.3 kB / 0.5103 GB, free: 2.98 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.024e-06/0.1317, allocations: 4 kB / 0.5103 GB, free: 2.977 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/0.1317, allocations: 320 / 0.5103 GB, free: 2.977 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.1317, allocations: 4 kB / 0.5103 GB, free: 2.973 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001095/0.1328, allocations: 0.7183 MB / 0.511 GB, free: 2.207 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.255e-06/0.1328, allocations: 8 kB / 0.511 GB, free: 2.199 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.66e-05/0.1328, allocations: 15.98 kB / 0.511 GB, free: 2.184 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.59e-06/0.1328, allocations: 4 kB / 0.511 GB, free: 2.18 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.469e-05/0.1329, allocations: 11.92 kB / 0.511 GB, free: 2.168 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.1329, allocations: 0 / 0.511 GB, free: 2.168 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.818e-06/0.1329, allocations: 4 kB / 0.511 GB, free: 2.164 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007576/0.1336, allocations: 0.4974 MB / 0.5115 GB, free: 1.641 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.295e-05/0.1337, allocations: 23.8 kB / 0.5115 GB, free: 1.617 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.352e-05/0.1337, allocations: 11.98 kB / 0.5116 GB, free: 1.605 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.1338, allocations: 4 kB / 0.5116 GB, free: 1.602 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.691e-05/0.1339, allocations: 27.89 kB / 0.5116 GB, free: 1.574 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.613e-05/0.1339, allocations: 16 kB / 0.5116 GB, free: 1.559 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001212/0.134, allocations: 128 kB / 0.5117 GB, free: 1.434 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.134, allocations: 4 kB / 0.5117 GB, free: 1.43 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005075/0.1346, allocations: 127.6 kB / 0.5118 GB, free: 1.305 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.001754/0.1363, allocations: 1.255 MB / 0.5131 GB, free: 76 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.2146/0.3509, allocations: 290.5 kB / 0.5133 GB, free: 21.52 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.3509, allocations: 0.5 kB / 0.5133 GB, free: 21.52 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002703/0.3511, allocations: 122.1 kB / 0.5135 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.0005465/0.3517, allocations: 49.25 kB / 0.5135 GB, free: 21.52 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003184/0.3549, allocations: 3.03 MB / 0.5165 GB, free: 19.75 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001734/0.355, allocations: 181.3 kB / 0.5166 GB, free: 19.67 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001115/0.3551, allocations: 43.12 kB / 0.5167 GB, free: 19.66 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001126/0.3553, allocations: 92.23 kB / 0.5168 GB, free: 19.66 MB / 382.1 MB Notification: Performance of SimCode: time 1.062e-06/0.3553, allocations: 1.594 kB / 0.5168 GB, free: 19.66 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03592/0.3912, allocations: 7.723 MB / 0.5243 GB, free: 18.29 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.2482416019774973] Failed to read output from testmodel.py, exit status != 0: 0.802667467854917 0.814679348 0.6920017589999999 Calling exit ...