Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCM.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.001289/0.001289, allocations: 104.3 kB / 20.52 MB, free: 1.348 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.001491/0.001491, allocations: 217 kB / 23.81 MB, free: 4.512 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.526/1.526, allocations: 230.6 MB / 257.6 MB, free: 7.805 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.06408/0.06408, allocations: 12.22 MB / 326.2 MB, free: 7.031 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_LCM,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_LCM",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCM,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_LCM",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001914/0.001914, allocations: 64.14 kB / 454.1 MB, free: 8.82 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.13, allocations: 56.4 MB / 0.4985 GB, free: 332 kB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCM): time 0.005366/0.1354, allocations: 2.973 MB / 0.5014 GB, free: 13.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001827/0.1372, allocations: 0.8601 MB / 0.5023 GB, free: 12.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001502/0.1374, allocations: 11.88 kB / 0.5023 GB, free: 12.46 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003327/0.1377, allocations: 83.19 kB / 0.5024 GB, free: 12.38 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002267/0.138, allocations: 67.45 kB / 0.5024 GB, free: 12.32 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/Communication.mo:1272:7-1282:20:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.Internal.DummyFunctions.sendToLCM' contains a call to impure function 'Modelica_DeviceDrivers.Communication.LCM_.sendTo'. [/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:1262:7-1270:18:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.Internal.DummyFunctions.readLCM' contains a call to impure function 'Modelica_DeviceDrivers.Communication.LCM_.read'. [/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/Packaging/SerialPackager.mo:41:7-50:25:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.addRealAsFloat' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.addRealAsFloat'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Packaging/SerialPackager.mo:86:7-96:27:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.getRealFromFloat' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getRealFromFloat'. Notification: Performance of NFTyping.typeClassSections: time 0.0008874/0.1388, allocations: 275.3 kB / 0.5027 GB, free: 12.05 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005336/0.1394, allocations: 410.9 kB / 0.5031 GB, free: 11.64 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000315/0.1397, allocations: 139.8 kB / 0.5032 GB, free: 11.5 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002421/0.1399, allocations: 211.2 kB / 0.5034 GB, free: 11.29 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00034/0.1403, allocations: 250.9 kB / 0.5036 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.44e-05/0.1404, allocations: 44 kB / 0.5037 GB, free: 11 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003514/0.1407, allocations: 207.8 kB / 0.5039 GB, free: 10.8 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001934/0.1409, allocations: 155.5 kB / 0.504 GB, free: 10.65 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001999/0.1411, allocations: 171.1 kB / 0.5042 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008696/0.142, allocations: 0.6847 MB / 0.5049 GB, free: 9.793 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.142, allocations: 0 / 0.5049 GB, free: 9.793 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.142, allocations: 0 / 0.5049 GB, free: 9.793 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.326e-06/0.142, allocations: 4 kB / 0.5049 GB, free: 9.789 MB / 382.1 MB Warning: Alias equations of external objects are not Modelica compliant as in: getFloat.pkgOut[1].pkg = getFloat.pkgIn.pkg addFloat.pkgOut[1].pkg = addFloat.pkgIn.pkg getReal.pkgOut[1].pkg = getReal.pkgIn.pkg addInteger.pkgOut[1].pkg = addInteger.pkgIn.pkg addReal.pkgOut[1].pkg = addReal.pkgIn.pkg getInteger.pkgIn.pkg = getFloat.pkgOut[1].pkg getReal.pkgOut[1].pkg = getFloat.pkgIn.pkg lcmSend.pkgIn.pkg = addInteger.pkgOut[1].pkg addFloat.pkgOut[1].pkg = addInteger.pkgIn.pkg addReal.pkgOut[1].pkg = addFloat.pkgIn.pkg lcmReceive.pkgOut.pkg = getReal.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: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.001971/0.144, allocations: 1.077 MB / 0.5059 GB, free: 8.629 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.144, allocations: 8.031 kB / 0.5059 GB, free: 8.621 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.45e-05/0.144, allocations: 17.12 kB / 0.5059 GB, free: 8.602 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.052e-05/0.1441, allocations: 78.7 kB / 0.506 GB, free: 8.516 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001048/0.1442, allocations: 60.55 kB / 0.5061 GB, free: 8.457 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004014/0.1446, allocations: 273.7 kB / 0.5063 GB, free: 8.164 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.323e-05/0.1447, allocations: 33.36 kB / 0.5064 GB, free: 8.133 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.52e-05/0.1447, allocations: 44.36 kB / 0.5064 GB, free: 8.09 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000853/0.1456, allocations: 483.8 kB / 0.5069 GB, free: 7.594 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.813e-05/0.1456, allocations: 3.938 kB / 0.5069 GB, free: 7.59 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.872e-05/0.1457, allocations: 12 kB / 0.5069 GB, free: 7.578 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.637e-05/0.1457, allocations: 12 kB / 0.5069 GB, free: 7.566 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000495/0.1462, allocations: 263.7 kB / 0.5072 GB, free: 7.309 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001858/0.148, allocations: 1.245 MB / 0.5084 GB, free: 6.004 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006133/0.1486, allocations: 282.3 kB / 0.5086 GB, free: 5.691 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002398/0.1489, allocations: 147.5 kB / 0.5088 GB, free: 5.535 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.463e-05/0.1489, allocations: 4 kB / 0.5088 GB, free: 5.531 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004446/0.1494, allocations: 256.6 kB / 0.509 GB, free: 5.25 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 2.565e-06/0.1494, allocations: 0 / 0.509 GB, free: 5.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.001214/0.1506, allocations: 0.578 MB / 0.5096 GB, free: 4.668 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001323/0.1507, allocations: 160.4 kB / 0.5097 GB, free: 4.48 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003327/0.151, allocations: 268.7 kB / 0.51 GB, free: 4.211 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.944e-05/0.1511, allocations: 49.69 kB / 0.51 GB, free: 4.156 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001856/0.1513, allocations: 208.7 kB / 0.5102 GB, free: 3.945 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001082/0.1514, allocations: 99.31 kB / 0.5103 GB, free: 3.848 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001824/0.1516, allocations: 126.1 kB / 0.5105 GB, free: 3.715 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002901/0.1519, allocations: 342.8 kB / 0.5108 GB, free: 3.371 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002334/0.1521, allocations: 120.9 kB / 0.5109 GB, free: 3.254 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004511/0.1525, allocations: 321.8 kB / 0.5112 GB, free: 2.852 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006496/0.1532, allocations: 480.4 kB / 0.5117 GB, free: 2.293 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.1532, allocations: 0 / 0.5117 GB, free: 2.293 MB / 382.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0008737/0.1541, allocations: 489.3 kB / 0.5121 GB, free: 1.809 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.046e-05/0.1541, allocations: 8.125 kB / 0.5121 GB, free: 1.801 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.689e-05/0.1541, allocations: 12 kB / 0.5122 GB, free: 1.789 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.248e-05/0.1542, allocations: 8 kB / 0.5122 GB, free: 1.781 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002929/0.1545, allocations: 83.77 kB / 0.5122 GB, free: 1.699 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.997e-05/0.1545, allocations: 11.98 kB / 0.5123 GB, free: 1.688 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001912/0.1547, allocations: 43.67 kB / 0.5123 GB, free: 1.645 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.031e-05/0.1547, allocations: 27.94 kB / 0.5123 GB, free: 1.617 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 54 (addFloat.pkgOut[1].dummy,$PRE.addFloat.pkgOut[1].dummy,addInteger.pkgOut[1].dummy,$PRE.addInteger.pkgOut[1].dummy,lcmSend.dummy,$PRE.lcmSend.dummy,addReal.pkgOut[1].dummy,$PRE.addReal.pkgOut[1].dummy,packager.pkgOut.dummy,$PRE.packager.pkgOut.dummy,addFloat.pkgOut[1].backwardTrigger,addFloat.pkgOut[1].trigger,$whenCondition2,addInteger.u[1],getFloat.dummy,$PRE.getFloat.dummy,getFloat.y[2],$PRE.getFloat.y[2],getFloat.y[1],$PRE.getFloat.y[1],getFloat.pkgOut[1].dummy,$PRE.getFloat.pkgOut[1].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,lcmReceive.pkgOut.dummy,$PRE.lcmReceive.pkgOut.dummy,getFloat.pkgOut[1].trigger,$whenCondition1,getInteger.pkgIn.userPkgBitSize,getInteger.pkgIn.backwardTrigger,getFloat.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getReal.pkgIn.autoPkgBitSize,lcmReceive.bufferSize,addFloat.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,lcmSend.pkgIn.autoPkgBitSize,lcmSend.pkgIn.userPkgBitSize,addReal.pkgIn.autoPkgBitSize,packager.bufferSize,packager.backwardPropagatedBufferSize,lcmSend.bufferSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 62 * 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.0003502/0.1551, allocations: 243 kB / 0.5126 GB, free: 1.371 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.048e-05/0.1551, allocations: 27.81 kB / 0.5126 GB, free: 1.344 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004456/0.1556, allocations: 239.4 kB / 0.5128 GB, free: 1.105 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.1556, allocations: 4 kB / 0.5128 GB, free: 1.102 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.1556, allocations: 3.938 kB / 0.5128 GB, free: 1.098 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.1556, allocations: 0 / 0.5128 GB, free: 1.098 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001521/0.1571, allocations: 0.9688 MB / 0.5138 GB, free: 80 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.1571, allocations: 0 / 0.5138 GB, free: 80 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.474e-05/0.1572, allocations: 12 kB / 0.5138 GB, free: 68 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.793e-06/0.1572, allocations: 8 kB / 0.5138 GB, free: 60 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.37e-05/0.1572, allocations: 15.92 kB / 0.5138 GB, free: 44 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.1572, allocations: 3.984 kB / 0.5138 GB, free: 40 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.1572, allocations: 4 kB / 0.5138 GB, free: 36 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2528/0.4101, allocations: 0.6503 MB / 0.5144 GB, free: 21.67 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.005e-05/0.4101, allocations: 34.77 kB / 0.5145 GB, free: 21.67 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.985e-05/0.4102, allocations: 8.938 kB / 0.5145 GB, free: 21.67 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001918/0.4103, allocations: 8.922 kB / 0.5145 GB, free: 21.67 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.547e-05/0.4104, allocations: 29.28 kB / 0.5145 GB, free: 21.67 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.166e-05/0.4105, allocations: 13.23 kB / 0.5145 GB, free: 21.67 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001388/0.4106, allocations: 153.9 kB / 0.5147 GB, free: 21.59 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4106, allocations: 0 / 0.5147 GB, free: 21.59 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006918/0.4113, allocations: 158.1 kB / 0.5148 GB, free: 21.59 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 35 (getFloat.pkgOut[1].trigger,$whenCondition1,lcmReceive.pkgOut.dummy,getReal.pkgOut[1].dummy,getReal.y[1],getReal.y[2],getReal.y[3],getReal.dummy,getInteger.y[1],getInteger.dummy,getFloat.pkgOut[1].dummy,getFloat.y[1],getFloat.y[2],getFloat.dummy,lcmReceive.bufferSize,getReal.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getFloat.pkgIn.autoPkgBitSize,addFloat.pkgOut[1].trigger,$whenCondition2,packager.pkgOut.dummy,addReal.pkgOut[1].dummy,lcmSend.bufferSize,lcmSend.dummy,addInteger.pkgOut[1].dummy,addInteger.u[1],addFloat.pkgOut[1].dummy,addFloat.pkgOut[1].backwardTrigger,packager.backwardPropagatedBufferSize,packager.bufferSize,addReal.pkgIn.autoPkgBitSize,lcmSend.pkgIn.userPkgBitSize,lcmSend.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,addFloat.pkgIn.autoPkgBitSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 23 * 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.002026/0.4133, allocations: 1.474 MB / 0.5163 GB, free: 20.82 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007724/0.4141, allocations: 348.9 kB / 0.5166 GB, free: 20.81 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.4141, allocations: 0 / 0.5166 GB, free: 20.81 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002494/0.4143, allocations: 154 kB / 0.5167 GB, free: 20.8 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006913/0.415, allocations: 90.92 kB / 0.5168 GB, free: 20.8 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0044/0.4194, allocations: 3.496 MB / 0.5202 GB, free: 18.81 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002173/0.4196, allocations: 215.6 kB / 0.5205 GB, free: 18.73 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001777/0.4198, allocations: 56.48 kB / 0.5205 GB, free: 18.73 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001857/0.42, allocations: 123.8 kB / 0.5206 GB, free: 18.72 MB / 382.1 MB Notification: Performance of SimCode: time 9.02e-07/0.42, allocations: 0 / 0.5206 GB, free: 18.72 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.036/0.456, allocations: 9.243 MB / 0.5297 GB, free: 17.23 MB / 382.1 MB Error: Error building simulator. Build log: cmd: cd '656.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_LCM/656.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_LCM/656.fmutmp/sources/../binaries/linux64 -- Linking cm-NOTFOUND -- Linking /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Resources/Library/linux64/libglib-2.0.a -- 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: cm-NOTFOUND;/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Resources/Library/linux64/libglib-2.0.a;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: cm linked by target \"656\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCM/656.fmutmp/sources pthread linked by target \"656\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCM/656.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.4939946020022035] Failed to read output from testmodel.py, exit status != 0: 0.8994608939392492 0.912647839 0.7679547330000001 Calling exit ...