Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002039/0.002039, allocations: 116.7 kB / 17.17 MB, free: 5.719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002138/0.002138, allocations: 196.5 kB / 20.12 MB, free: 2.809 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.472/1.472, allocations: 225.6 MB / 248.5 MB, free: 3.621 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.06379/0.06379, allocations: 12.17 MB / 315.6 MB, free: 296 kB / 238.1 MB " [Timeout remaining time 180] Using package Modelica_DeviceDrivers with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001993/0.001993, allocations: 67.89 kB / 439.5 MB, free: 6.625 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.25/0.252, allocations: 55.17 MB / 494.7 MB, free: 23.76 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN): time 0.004474/0.2565, allocations: 3.837 MB / 498.5 MB, free: 20.78 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001928/0.2584, allocations: 1.24 MB / 499.8 MB, free: 19.77 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003064/0.2587, allocations: 21.06 kB / 499.8 MB, free: 19.76 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004/0.2591, allocations: 147.8 kB / 499.9 MB, free: 19.64 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002251/0.2594, allocations: 97.58 kB / 0.4883 GB, free: 19.55 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Communication.mo:885:7-893:25:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.SoftingCAN.Internal.startChipDummy' contains a call to impure function 'Modelica_DeviceDrivers.Communication.SoftingCAN_.startChip'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Communication.mo:895:7-910:27:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.SoftingCAN.Internal.readRcvDataDummy' contains a call to impure function 'Modelica_DeviceDrivers.Communication.SoftingCAN_.readRcvData'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Packaging/SerialPackager.mo:155:5-169:25:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.integerBitUnpack' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.integerBitUnpack'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-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 2.1.1-master/Blocks/Packaging/SerialPackager.mo:139:5-153:23:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.integerBitPack' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.integerBitPack'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Communication.mo:912:7-928:27:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.SoftingCAN.Internal.writeObjectDummy' contains a call to impure function 'Modelica_DeviceDrivers.Communication.SoftingCAN_.writeObject'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-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'. Notification: Performance of NFTyping.typeClassSections: time 0.0009543/0.2603, allocations: 452.4 kB / 0.4888 GB, free: 19.2 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006378/0.261, allocations: 0.7527 MB / 0.4895 GB, free: 18.75 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003978/0.2614, allocations: 313.4 kB / 0.4898 GB, free: 18.55 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003232/0.2617, allocations: 363.9 kB / 0.4901 GB, free: 18.32 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003578/0.262, allocations: 442.2 kB / 0.4906 GB, free: 18 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001185/0.2622, allocations: 87.72 kB / 0.4906 GB, free: 18 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000353/0.2625, allocations: 201.7 kB / 0.4908 GB, free: 17.95 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000209/0.2627, allocations: 290.7 kB / 0.4911 GB, free: 17.73 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000271/0.263, allocations: 394.2 kB / 0.4915 GB, free: 17.43 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001068/0.2641, allocations: 1.124 MB / 0.4926 GB, free: 16.57 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.2641, allocations: 1.156 kB / 0.4926 GB, free: 16.57 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.033e-06/0.2641, allocations: 0 / 0.4926 GB, free: 16.57 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.288e-05/0.2641, allocations: 0 / 0.4926 GB, free: 16.57 MB / 366.1 MB Warning: Alias equations of external objects are not Modelica compliant as in: packInt1.pkgOut[1].pkg = packInt1.pkgIn.pkg packInt.pkgOut[1].pkg = packInt.pkgIn.pkg addInteger.pkgOut[1].pkg = addInteger.pkgIn.pkg unpackInt6.pkgOut[1].pkg = unpackInt6.pkgIn.pkg unpackInt5.pkgOut[1].pkg = unpackInt5.pkgIn.pkg unpackInt4.pkgOut[1].pkg = unpackInt4.pkgIn.pkg unpackInt3.pkgOut[1].pkg = unpackInt3.pkgIn.pkg unpackInt2.pkgOut[1].pkg = unpackInt2.pkgIn.pkg unpackInt1.pkgOut[1].pkg = unpackInt1.pkgIn.pkg unpackInt.pkgOut[1].pkg = unpackInt.pkgIn.pkg softingCANConfig.softingCANBus[2].softingCAN = softingCANConfig.softingCAN softingCANConfig.softingCANBus[1].softingCAN = softingCANConfig.softingCAN rxMessage.softingCANBus.softingCAN = softingCANConfig.softingCANBus[2].softingCAN txMessage.softingCANBus.softingCAN = softingCANConfig.softingCANBus[1].softingCAN packInt.pkgOut[1].pkg = txMessage.pkgIn.pkg addInteger.pkgOut[1].pkg = packInt.pkgIn.pkg packInt1.pkgOut[1].pkg = addInteger.pkgIn.pkg packager.pkgOut.pkg = packInt1.pkgIn.pkg rxMessage.pkgOut.pkg = unpackInt.pkgIn.pkg unpackInt1.pkgOut[1].pkg = unpackInt2.pkgIn.pkg unpackInt.pkgOut[1].pkg = unpackInt1.pkgIn.pkg unpackInt6.pkgOut[1].pkg = unpackInt7.pkgIn.pkg unpackInt5.pkgOut[1].pkg = unpackInt6.pkgIn.pkg unpackInt4.pkgOut[1].pkg = unpackInt5.pkgIn.pkg unpackInt3.pkgOut[1].pkg = unpackInt4.pkgIn.pkg unpackInt2.pkgOut[1].pkg = unpackInt3.pkgIn.pkg Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.002124/0.2662, allocations: 1.751 MB / 0.4943 GB, free: 15.09 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.2662, allocations: 10.38 kB / 0.4943 GB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001112/0.2664, allocations: 124.8 kB / 0.4944 GB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001579/0.2665, allocations: 94.23 kB / 0.4945 GB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005401/0.2671, allocations: 465.6 kB / 0.495 GB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.972e-05/0.2671, allocations: 56.45 kB / 0.495 GB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.845e-05/0.2672, allocations: 78.34 kB / 0.4951 GB, free: 14.47 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001091/0.2683, allocations: 0.7891 MB / 0.4959 GB, free: 13.97 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.033e-05/0.2683, allocations: 3.938 kB / 0.4959 GB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.581e-05/0.2684, allocations: 31.89 kB / 0.4959 GB, free: 13.94 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.85e-05/0.2684, allocations: 17.16 kB / 0.4959 GB, free: 13.94 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006675/0.2691, allocations: 447 kB / 0.4963 GB, free: 13.73 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002497/0.2716, allocations: 2.133 MB / 0.4984 GB, free: 12 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006735/0.2722, allocations: 484.6 kB / 0.4989 GB, free: 11.67 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002907/0.2725, allocations: 229.2 kB / 0.4991 GB, free: 11.53 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.49e-05/0.2726, allocations: 10.5 kB / 0.4991 GB, free: 11.52 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000463/0.273, allocations: 355.8 kB / 0.4994 GB, free: 11.27 MB / 366.1 MB Notification: Performance of pre-optimization done (n=63): time 2.675e-06/0.273, allocations: 0 / 0.4994 GB, free: 11.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=63): time 0.001471/0.2745, allocations: 0.8786 MB / 0.5003 GB, free: 10.88 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.08e-05/0.2746, allocations: 194.9 kB / 0.5005 GB, free: 10.68 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003205/0.2749, allocations: 350.5 kB / 0.5008 GB, free: 10.42 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.881e-05/0.275, allocations: 61.78 kB / 0.5009 GB, free: 10.37 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001611/0.2751, allocations: 331.4 kB / 0.5012 GB, free: 10.08 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.602e-05/0.2752, allocations: 172.8 kB / 0.5014 GB, free: 9.934 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001902/0.2754, allocations: 177.3 kB / 0.5015 GB, free: 9.832 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.293e-05/0.2755, allocations: 362.5 kB / 0.5019 GB, free: 9.48 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002646/0.2757, allocations: 177.7 kB / 0.502 GB, free: 9.398 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004581/0.2762, allocations: 474.4 kB / 0.5025 GB, free: 8.934 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007928/0.277, allocations: 0.7109 MB / 0.5032 GB, free: 8.332 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.424e-06/0.277, allocations: 1.406 kB / 0.5032 GB, free: 8.332 MB / 366.1 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001174/0.2782, allocations: 0.7147 MB / 0.5039 GB, free: 7.965 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.074e-05/0.2782, allocations: 8.906 kB / 0.5039 GB, free: 7.965 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.935e-05/0.2782, allocations: 11.03 kB / 0.5039 GB, free: 7.965 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.506e-05/0.2783, allocations: 17.59 kB / 0.5039 GB, free: 7.961 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003794/0.2787, allocations: 120.4 kB / 0.504 GB, free: 7.926 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.22e-05/0.2787, allocations: 17.88 kB / 0.5041 GB, free: 7.922 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002924/0.279, allocations: 67.45 kB / 0.5041 GB, free: 7.875 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.083e-05/0.279, allocations: 45.83 kB / 0.5042 GB, free: 7.859 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 90 (unpackInt7.dummy,$PRE.unpackInt7.dummy,unpackInt7.y,$PRE.unpackInt7.y,unpackInt6.dummy,$PRE.unpackInt6.dummy,unpackInt6.y,$PRE.unpackInt6.y,unpackInt6.pkgOut[1].dummy,$PRE.unpackInt6.pkgOut[1].dummy,unpackInt5.dummy,$PRE.unpackInt5.dummy,unpackInt5.y,$PRE.unpackInt5.y,unpackInt5.pkgOut[1].dummy,$PRE.unpackInt5.pkgOut[1].dummy,unpackInt4.dummy,$PRE.unpackInt4.dummy,unpackInt4.y,$PRE.unpackInt4.y,unpackInt4.pkgOut[1].dummy,$PRE.unpackInt4.pkgOut[1].dummy,unpackInt3.dummy,$PRE.unpackInt3.dummy,unpackInt3.y,$PRE.unpackInt3.y,unpackInt3.pkgOut[1].dummy,$PRE.unpackInt3.pkgOut[1].dummy,unpackInt2.dummy,$PRE.unpackInt2.dummy,unpackInt2.y,$PRE.unpackInt2.y,unpackInt2.pkgOut[1].dummy,$PRE.unpackInt2.pkgOut[1].dummy,unpackInt1.dummy,$PRE.unpackInt1.dummy,unpackInt1.y,$PRE.unpackInt1.y,unpackInt1.pkgOut[1].dummy,$PRE.unpackInt1.pkgOut[1].dummy,unpackInt.dummy,$PRE.unpackInt.dummy,unpackInt.y,$PRE.unpackInt.y,unpackInt.pkgOut[1].dummy,$PRE.unpackInt.pkgOut[1].dummy,rxMessage.objectNumber,$PRE.rxMessage.objectNumber,rxMessage.pkgOut.dummy,$PRE.rxMessage.pkgOut.dummy,unpackInt6.pkgOut[1].trigger,$whenCondition2,unpackInt7.pkgIn.autoPkgBitSize,unpackInt6.pkgIn.autoPkgBitSize,unpackInt5.pkgIn.autoPkgBitSize,unpackInt4.pkgIn.autoPkgBitSize,unpackInt3.pkgIn.autoPkgBitSize,unpackInt2.pkgIn.autoPkgBitSize,unpackInt1.pkgIn.autoPkgBitSize,unpackInt.pkgIn.autoPkgBitSize,packager.pkgOut.dummy,$PRE.packager.pkgOut.dummy,txMessage.objectNumber,$PRE.txMessage.objectNumber,txMessage.dummy,$PRE.txMessage.dummy,packInt1.pkgOut[1].dummy,$PRE.packInt1.pkgOut[1].dummy,packInt.pkgOut[1].dummy,$PRE.packInt.pkgOut[1].dummy,addInteger.pkgOut[1].dummy,$PRE.addInteger.pkgOut[1].dummy,rxMessage.softingCANBus.dummy,$PRE.rxMessage.softingCANBus.dummy,txMessage.softingCANBus.dummy,$PRE.txMessage.softingCANBus.dummy,packInt1.pkgOut[1].trigger,packInt.pkgOut[1].backwardTrigger,$whenCondition1,addInteger.u[1],integerExpression2.y,unpackInt7.pkgIn.userPkgBitSize,unpackInt7.pkgIn.backwardTrigger,packager.bufferSize,packager.backwardPropagatedBufferSize,txMessage.pkgIn.autoPkgBitSize,txMessage.pkgIn.userPkgBitSize,packInt1.pkgIn.autoPkgBitSize,packInt.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0004012/0.2794, allocations: 311 kB / 0.5045 GB, free: 7.621 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.906e-05/0.2795, allocations: 51.02 kB / 0.5045 GB, free: 7.594 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.577e-05/0.2796, allocations: 37.31 kB / 0.5045 GB, free: 7.562 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-05/0.2796, allocations: 10.25 kB / 0.5046 GB, free: 7.559 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.328e-05/0.2796, allocations: 1.125 kB / 0.5046 GB, free: 7.559 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.734e-06/0.2796, allocations: 6.266 kB / 0.5046 GB, free: 7.555 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001865/0.2815, allocations: 1.435 MB / 0.506 GB, free: 6.586 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.033e-05/0.2815, allocations: 5.641 kB / 0.506 GB, free: 6.582 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.573e-05/0.2816, allocations: 17.28 kB / 0.506 GB, free: 6.578 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.2816, allocations: 0 / 0.506 GB, free: 6.578 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.329e-05/0.2816, allocations: 24.69 kB / 0.506 GB, free: 6.562 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/0.2816, allocations: 2.5 kB / 0.506 GB, free: 6.562 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.2816, allocations: 1.312 kB / 0.506 GB, free: 6.562 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001098/0.2827, allocations: 0.8999 MB / 0.5069 GB, free: 6.035 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.862e-05/0.2828, allocations: 132.6 kB / 0.507 GB, free: 5.887 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.76e-05/0.2828, allocations: 16.11 kB / 0.507 GB, free: 5.871 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001733/0.283, allocations: 15.98 kB / 0.5071 GB, free: 5.855 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.725e-05/0.2831, allocations: 31.91 kB / 0.5071 GB, free: 5.824 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-05/0.2831, allocations: 23.97 kB / 0.5071 GB, free: 5.801 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001374/0.2832, allocations: 195.1 kB / 0.5073 GB, free: 5.613 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2832, allocations: 0 / 0.5073 GB, free: 5.613 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007688/0.284, allocations: 227.2 kB / 0.5075 GB, free: 5.391 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: 55 (packInt1.pkgOut[1].trigger,$whenCondition1,addInteger.pkgOut[1].dummy,addInteger.u[1],packInt.pkgOut[1].dummy,packInt.pkgOut[1].backwardTrigger,packInt1.pkgOut[1].dummy,txMessage.softingCANBus.dummy,txMessage.objectNumber,txMessage.dummy,packager.pkgOut.dummy,integerExpression2.y,addInteger.pkgIn.autoPkgBitSize,packInt.pkgIn.autoPkgBitSize,packInt1.pkgIn.autoPkgBitSize,txMessage.pkgIn.userPkgBitSize,txMessage.pkgIn.autoPkgBitSize,packager.backwardPropagatedBufferSize,packager.bufferSize,unpackInt.pkgIn.autoPkgBitSize,unpackInt1.pkgIn.autoPkgBitSize,unpackInt2.pkgIn.autoPkgBitSize,unpackInt3.pkgIn.autoPkgBitSize,unpackInt4.pkgIn.autoPkgBitSize,unpackInt5.pkgIn.autoPkgBitSize,unpackInt6.pkgIn.autoPkgBitSize,unpackInt7.pkgIn.autoPkgBitSize,unpackInt6.pkgOut[1].trigger,$whenCondition2,rxMessage.softingCANBus.dummy,rxMessage.pkgOut.dummy,rxMessage.objectNumber,unpackInt.pkgOut[1].dummy,unpackInt.y,unpackInt.dummy,unpackInt1.pkgOut[1].dummy,unpackInt1.y,unpackInt1.dummy,unpackInt2.pkgOut[1].dummy,unpackInt2.y,unpackInt2.dummy,unpackInt3.pkgOut[1].dummy,unpackInt3.y,unpackInt3.dummy,unpackInt4.pkgOut[1].dummy,unpackInt4.y,unpackInt4.dummy,unpackInt5.pkgOut[1].dummy,unpackInt5.y,unpackInt5.dummy,unpackInt6.pkgOut[1].dummy,unpackInt6.y,unpackInt6.dummy,unpackInt7.y,unpackInt7.dummy) * Number of discrete states: 4 (rxMessage.objectNumber,rxMessage.softingCANBus.dummy,txMessage.objectNumber,txMessage.softingCANBus.dummy) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 40 * 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.001778/0.2858, allocations: 1.697 MB / 0.5092 GB, free: 3.719 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007907/0.2866, allocations: 0.5325 MB / 0.5097 GB, free: 3.18 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.2866, allocations: 0 / 0.5097 GB, free: 3.18 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002921/0.2869, allocations: 239.3 kB / 0.5099 GB, free: 2.941 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006573/0.2875, allocations: 104.3 kB / 0.51 GB, free: 2.844 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006135/0.2937, allocations: 4.874 MB / 0.5148 GB, free: 13.61 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006208/0.2943, allocations: 0.922 MB / 0.5157 GB, free: 12.66 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002009/0.2945, allocations: 64.36 kB / 0.5157 GB, free: 12.59 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002716/0.2948, allocations: 199.4 kB / 0.5159 GB, free: 12.4 MB / 382.1 MB Notification: Performance of SimCode: time 6.22e-07/0.2948, allocations: 0 / 0.5159 GB, free: 12.4 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04132/0.3361, allocations: 12.08 MB / 0.5277 GB, free: 476 kB / 382.1 MB Error: Error building simulator. Build log: cmd: cd 'Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.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_2/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_2/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.fmutmp/sources/../binaries/linux64 -- Linking rt-NOTFOUND -- Linking /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Library/linux64/libWinmm.a -- Linking /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libModelicaExternalC.a -- CVODE: Not linked -- Not using FMI2_FUNCTION_PREFIX -- Installing dynamic dependencies from list: rt-NOTFOUND;/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Library/linux64/libWinmm.a;/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libModelicaExternalC.a -- 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: rt linked by target \"Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SoftingCAN/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SoftingCAN.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.121907713357359] Failed to read output from testmodel.py, exit status != 0: 0.7513825851492584 0.7677103949999999 0.500275805 Calling exit ...