Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.SimpleStackCycling.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.001248/0.001248, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001462/0.001462, allocations: 218 kB / 23.04 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.463/1.463, allocations: 207.6 MB / 233.8 MB, free: 9.984 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricalEnergyStorage master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricalEnergyStorage master/package.mo): time 0.0532/0.0532, allocations: 7.129 MB / 293.2 MB, free: 14.68 MB / 238.1 MB " [Timeout remaining time 180] Using package ElectricalEnergyStorage with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricalEnergyStorage master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ElectricalEnergyStorage.Examples.SimpleStackCycling,fileNamePrefix="ElectricalEnergyStorage_ElectricalEnergyStorage_Examples_SimpleStackCycling",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ElectricalEnergyStorage.Examples.SimpleStackCycling,fileNamePrefix="ElectricalEnergyStorage_ElectricalEnergyStorage_Examples_SimpleStackCycling",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] Thread is still alive. "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ElectricalEnergyStorage requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002299/0.002299, allocations: 79.97 kB / 409.8 MB, free: 47.72 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07145/0.07375, allocations: 50.74 MB / 460.6 MB, free: 14.34 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter cycler.vOut.gain.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter cycler.iOut.gain.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(ElectricalEnergyStorage.Examples.SimpleStackCycling): time 0.0109/0.08465, allocations: 7.294 MB / 467.9 MB, free: 7 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006761/0.09141, allocations: 3.9 MB / 471.8 MB, free: 3.086 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001266/0.09268, allocations: 39.81 kB / 471.8 MB, free: 3.047 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008934/0.1016, allocations: 7.282 MB / 479.1 MB, free: 11.75 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.008447/0.1101, allocations: 6.866 MB / 486 MB, free: 4.871 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002103/0.1122, allocations: 0.8035 MB / 486.8 MB, free: 4.066 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007386/0.1195, allocations: 5.092 MB / 491.9 MB, free: 14.96 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001954/0.1215, allocations: 0.8238 MB / 492.7 MB, free: 14.09 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005273/0.1268, allocations: 3.278 MB / 496 MB, free: 10.8 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01071/0.1375, allocations: 8.098 MB / 0.4922 GB, free: 2.688 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009194/0.1384, allocations: 244 kB / 0.4925 GB, free: 2.449 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00102/0.1394, allocations: 320 kB / 0.4928 GB, free: 2.137 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007129/0.1465, allocations: 8.002 MB / 0.5006 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009763/0.1563, allocations: 8.403 MB / 0.5088 GB, free: 1.641 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3793/0.5357, allocations: 23.82 MB / 0.5321 GB, free: 38.24 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.5357, allocations: 1.375 kB / 0.5321 GB, free: 38.24 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.5357, allocations: 0 / 0.5321 GB, free: 38.24 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0007842/0.5364, allocations: 0 / 0.5321 GB, free: 38.24 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.05222/0.5887, allocations: 24.01 MB / 0.5555 GB, free: 24.45 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/0.5887, allocations: 15.2 kB / 0.5555 GB, free: 24.44 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.000103/0.5888, allocations: 43.61 kB / 0.5556 GB, free: 24.43 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000416/0.5892, allocations: 219 kB / 0.5558 GB, free: 24.26 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00622/0.5955, allocations: 2.583 MB / 0.5583 GB, free: 22.75 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03947/0.6349, allocations: 18.56 MB / 0.5764 GB, free: 8.363 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001073/0.635, allocations: 116.1 kB / 0.5765 GB, free: 8.25 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001994/0.6352, allocations: 140 kB / 0.5767 GB, free: 8.113 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002176/0.6374, allocations: 1.4 MB / 0.578 GB, free: 6.664 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.791e-05/0.6374, allocations: 0 / 0.578 GB, free: 6.664 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001032/0.6375, allocations: 57.42 kB / 0.5781 GB, free: 6.609 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.038e-05/0.6376, allocations: 36.75 kB / 0.5781 GB, free: 6.574 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001537/0.6391, allocations: 0.9754 MB / 0.5791 GB, free: 5.605 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05661/0.6957, allocations: 22.12 MB / 0.6007 GB, free: 15.45 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001721/0.6974, allocations: 0.659 MB / 0.6013 GB, free: 14.79 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007213/0.6981, allocations: 313.5 kB / 0.6016 GB, free: 14.48 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.319e-05/0.6982, allocations: 8.656 kB / 0.6016 GB, free: 14.48 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009077/0.6991, allocations: 433.9 kB / 0.602 GB, free: 14.04 MB / 430.1 MB Notification: Performance of pre-optimization done (n=78): time 2.325e-06/0.6991, allocations: 0 / 0.602 GB, free: 14.04 MB / 430.1 MB Notification: Performance of matching and sorting (n=97): time 0.02435/0.7235, allocations: 8.643 MB / 0.6105 GB, free: 5.355 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001292/0.7236, allocations: 141.5 kB / 0.6106 GB, free: 5.188 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.127/0.8506, allocations: 53.05 MB / 0.6624 GB, free: 352 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002525/0.8508, allocations: 58.53 kB / 0.6625 GB, free: 288 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.02519/0.876, allocations: 12.41 MB / 0.6746 GB, free: 3.879 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004861/0.8765, allocations: 323.5 kB / 0.6749 GB, free: 3.566 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003885/0.8769, allocations: 210.9 kB / 0.6751 GB, free: 3.355 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001716/0.8771, allocations: 353.9 kB / 0.6754 GB, free: 3.004 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000855/0.8779, allocations: 364.5 kB / 0.6758 GB, free: 2.648 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009454/0.8789, allocations: 0.5818 MB / 0.6764 GB, free: 2 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001554/0.8804, allocations: 0.8788 MB / 0.6772 GB, free: 1.082 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/0.8804, allocations: 0 / 0.6772 GB, free: 1.082 MB / 494.1 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.01287/0.8933, allocations: 3.616 MB / 0.6808 GB, free: 13.48 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 2.859e-05/0.8933, allocations: 8 kB / 0.6808 GB, free: 13.47 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.355e-05/0.8933, allocations: 4 kB / 0.6808 GB, free: 13.47 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006904/0.894, allocations: 180.3 kB / 0.6809 GB, free: 13.29 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008011/0.8948, allocations: 173.8 kB / 0.6811 GB, free: 13.13 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0048/0.8996, allocations: 3.907 MB / 0.6849 GB, free: 9.031 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006488/0.9061, allocations: 55.95 kB / 0.685 GB, free: 8.977 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001956/0.9063, allocations: 44.06 kB / 0.685 GB, free: 8.934 MB / 0.4982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 39 ($PRE.load.fTP72_Power.FTP72_Table.nextTimeEvent,$whenCondition1,load.fTP72_Power.FTP72_Table.nextTimeEventScaled,$PRE.load.fTP72_Power.FTP72_Table.nextTimeEventScaled,load.fTP72_Power.FTP72_Table.nextTimeEvent,cycler.chargingFinished.fallingEdge.not_u,$PRE.cycler.chargingFinished.fallingEdge.not_u,cycler.chargingFinished.fallingEdge.y,cycler.chargingFinished.GraterEqualVmax.y,cycler.cycling.or1.y,cycler.cycling.greaterThreshold.y,cycler.cycling.edge1.y,cycler.cycling.edge1.u,$PRE.cycler.cycling.edge1.u,cycler.cycling.BeforeChargingDelay.greaterThreshold.y,cycler.cycling.BeforeChargingDelay.timer.entryTime,$PRE.cycler.cycling.BeforeChargingDelay.timer.entryTime,cycler.cycling.BeforeChargingDelay.rSFlipFlop.pre.u,$PRE.cycler.cycling.BeforeChargingDelay.rSFlipFlop.pre.u,cycler.cycling.BeforeChargingDelay.rSFlipFlop.QI,cycler.cycling.BeforeChargingDelay.u,cycler.cycling.AfterChargingDelay.greaterThreshold.y,cycler.cycling.AfterChargingDelay.timer.entryTime,$PRE.cycler.cycling.AfterChargingDelay.timer.entryTime,cycler.cycling.AfterChargingDelay.rSFlipFlop.pre.u,$PRE.cycler.cycling.AfterChargingDelay.rSFlipFlop.pre.u,cycler.cycling.AfterChargingDelay.rSFlipFlop.QI,cycler.cycling.AfterChargingDelay.u,cycler.cycling.lessVinMin.y,cycler.cycling.rSFlipFlop.pre.u,$PRE.cycler.cycling.rSFlipFlop.pre.u,cycler.Charging,cycler.Discharging,$whenCondition2,$whenCondition3,batteryStack.staticResistance.cellCalculator.EquivalentCycles.integrator.local_reset,batteryStack.staticResistance.cellCalculator.q.absInt.local_reset,batteryStack.staticResistance.cellCalculator.sOC.integrator.local_reset,charger.controlledCurrent.limitedController.limIntegrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (120): * Single equations (assignments): 118 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,12)} Notification: Performance of prepare postOptimizeDAE: time 0.01601/0.9223, allocations: 8.132 MB / 0.693 GB, free: 0.8047 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006997/0.9293, allocations: 2.514 MB / 0.6954 GB, free: 14.27 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01149/0.9408, allocations: 3.018 MB / 0.6984 GB, free: 11.25 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.317e-05/0.9408, allocations: 8 kB / 0.6984 GB, free: 11.24 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.309e-05/0.9408, allocations: 7.75 kB / 0.6984 GB, free: 11.23 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.501e-05/0.9409, allocations: 7.984 kB / 0.6984 GB, free: 11.23 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04513/0.986, allocations: 15.18 MB / 0.7132 GB, free: 12 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.876e-06/0.986, allocations: 12.17 kB / 0.7132 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005245/0.9865, allocations: 106.9 kB / 0.7133 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000606/0.9871, allocations: 181.1 kB / 0.7135 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.488e-05/0.9872, allocations: 20 kB / 0.7135 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004645/0.9918, allocations: 3.879 MB / 0.7173 GB, free: 7.617 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.439e-06/0.9918, allocations: 4.031 kB / 0.7173 GB, free: 7.613 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009903/1.002, allocations: 4.077 MB / 0.7213 GB, free: 3.488 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01251/1.014, allocations: 4.209 MB / 0.7254 GB, free: 15.26 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005371/1.02, allocations: 31.38 kB / 0.7254 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005827/1.025, allocations: 47.97 kB / 0.7255 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000352/1.026, allocations: 92.59 kB / 0.7256 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.999e-05/1.026, allocations: 31.98 kB / 0.7256 GB, free: 15.06 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.2775/1.303, allocations: 38.81 MB / 0.7635 GB, free: 187.7 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.41e-07/1.303, allocations: 1.609 kB / 0.7635 GB, free: 187.7 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.009138/1.313, allocations: 1.441 MB / 0.7649 GB, free: 187.4 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (charger.controlledCurrent.limitedController.limIntegrator.y,batteryStack.staticResistance.cellCalculator.sOC.integrator.y,batteryStack.staticResistance.cellCalculator.q.absInt.y,batteryStack.staticResistance.cellCalculator.EquivalentCycles.integrator.y) * Number of discrete variables: 26 (cycler.cycling.AfterChargingDelay.u,cycler.cycling.BeforeChargingDelay.u,$whenCondition3,$whenCondition2,$whenCondition1,cycler.Discharging,cycler.Charging,cycler.cycling.rSFlipFlop.pre.u,cycler.cycling.lessVinMin.y,cycler.cycling.AfterChargingDelay.rSFlipFlop.QI,cycler.cycling.AfterChargingDelay.rSFlipFlop.pre.u,cycler.cycling.AfterChargingDelay.timer.entryTime,cycler.cycling.AfterChargingDelay.greaterThreshold.y,cycler.cycling.BeforeChargingDelay.rSFlipFlop.QI,cycler.cycling.BeforeChargingDelay.rSFlipFlop.pre.u,cycler.cycling.BeforeChargingDelay.timer.entryTime,cycler.cycling.BeforeChargingDelay.greaterThreshold.y,cycler.cycling.edge1.u,cycler.cycling.edge1.y,cycler.cycling.greaterThreshold.y,cycler.cycling.or1.y,cycler.chargingFinished.GraterEqualVmax.y,cycler.chargingFinished.fallingEdge.y,cycler.chargingFinished.fallingEdge.not_u,load.fTP72_Power.FTP72_Table.nextTimeEvent,load.fTP72_Power.FTP72_Table.nextTimeEventScaled) * Number of discrete states: 7 (load.fTP72_Power.FTP72_Table.nextTimeEvent,load.fTP72_Power.FTP72_Table.nextTimeEventScaled,cycler.cycling.BeforeChargingDelay.rSFlipFlop.pre.u,cycler.cycling.AfterChargingDelay.rSFlipFlop.pre.u,cycler.cycling.rSFlipFlop.pre.u,cycler.chargingFinished.fallingEdge.not_u,cycler.cycling.edge1.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01392/1.326, allocations: 5.502 MB / 0.7703 GB, free: 183.5 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002048/1.328, allocations: 1.154 MB / 0.7714 GB, free: 182.4 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/1.328, allocations: 0 / 0.7714 GB, free: 182.4 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001062/1.33, allocations: 0.7568 MB / 0.7721 GB, free: 181.6 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01681/1.346, allocations: 1.522 MB / 0.7736 GB, free: 180.1 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.478/2.824, allocations: 251.6 MB / 1.019 GB, free: 131.9 MB / 0.5452 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02639/2.85, allocations: 11.49 MB / 1.031 GB, free: 120.4 MB / 0.5452 GB Notification: Performance of simCode: alias equations: time 0.0091/2.86, allocations: 3.703 MB / 1.034 GB, free: 116.7 MB / 0.5452 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01577/2.875, allocations: 10.22 MB / 1.044 GB, free: 106.5 MB / 0.5452 GB Notification: Performance of SimCode: time 1.142e-06/2.875, allocations: 0 / 1.044 GB, free: 106.5 MB / 0.5452 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9674/3.843, allocations: 385.3 MB / 1.42 GB, free: 113.3 MB / 0.5608 GB Error: Error building simulator. Build log: cmd: cd '546.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/ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.SimpleStackCycling/546.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/ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.SimpleStackCycling/546.fmutmp/sources/../binaries/linux64 -- Linking /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libModelicaStandardTables.a -- Linking /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libModelicaIO.a -- Linking /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libModelicaMatIO.a -- Linking /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libzlib.a -- 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: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libModelicaStandardTables.a;/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libModelicaIO.a;/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libModelicaMatIO.a;/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libzlib.a;/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 -- Generating done -- Build files have been written to: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.SimpleStackCycling/546.fmutmp/sources/build_cmake_static [ 0%] Building C object CMakeFiles/546.dir/external_solvers/F77_aloc.c.o [ 1%] Building C object CMakeFiles/546.dir/external_solvers/dgemm.c.o [ 2%] Building C object CMakeFiles/546.dir/external_solvers/dgemv.c.o [ 3%] Building C object CMakeFiles/546.dir/external_solvers/dger.c.o [ 3%] Building C object CMakeFiles/546.dir/external_solvers/dgesv.c.o [ 4%] Building C object CMakeFiles/546.dir/external_solvers/dgetf2.c.o [ 5%] Building C object CMakeFiles/546.dir/external_solvers/dgetrf.c.o [ 6%] Building C object CMakeFiles/546.dir/external_solvers/dgetri.c.o [ 7%] Building C object CMakeFiles/546.dir/external_solvers/dgetrs.c.o [ 7%] Building C object CMakeFiles/546.dir/external_solvers/dlamch.c.o [ 8%] Building C object CMakeFiles/546.dir/external_solvers/dlaswp.c.o [ 9%] Building C object CMakeFiles/546.dir/external_solvers/dogleg_.c.o [ 10%] Building C object CMakeFiles/546.dir/external_solvers/dpmpar_.c.o [ 11%] Building C object CMakeFiles/546.dir/external_solvers/dscal.c.o [ 11%] Building C object CMakeFiles/546.dir/external_solvers/dswap.c.o [ 12%] Building C object CMakeFiles/546.dir/external_solvers/dtrmm.c.o [ 13%] Building C object CMakeFiles/546.dir/external_solvers/dtrmv.c.o [ 14%] Building C object CMakeFiles/546.dir/external_solvers/dtrsm.c.o [ 15%] Building C object CMakeFiles/546.dir/external_solvers/dtrti2.c.o [ 15%] Building C object CMakeFiles/546.dir/external_solvers/dtrtri.c.o [ 16%] Building C object CMakeFiles/546.dir/external_solvers/enorm_.c.o [ 17%] Building C object CMakeFiles/546.dir/external_solvers/exit_.c.o [ 18%] Building C object CMakeFiles/546.dir/external_solvers/hybrj_.c.o [ 19%] Building C object CMakeFiles/546.dir/external_solvers/i_nint.c.o [ 19%] Building C object CMakeFiles/546.dir/external_solvers/idamax.c.o [ 20%] Building C object CMakeFiles/546.dir/external_solvers/ieeeck.c.o [ 21%] Building C object CMakeFiles/546.dir/external_solvers/ilaenv.c.o [ 22%] Building C object CMakeFiles/546.dir/external_solvers/iparmq.c.o [ 23%] Building C object CMakeFiles/546.dir/external_solvers/lsame.c.o [ 23%] Building C object CMakeFiles/546.dir/external_solvers/pow_di.c.o [ 24%] Building C object CMakeFiles/546.dir/external_solvers/qform_.c.o [ 25%] Building C object CMakeFiles/546.dir/external_solvers/qrfac_.c.o [ 26%] Building C object CMakeFiles/546.dir/external_solvers/r1mpyq_.c.o [ 26%] Building C object CMakeFiles/546.dir/external_solvers/r1updt_.c.o [ 27%] Building C object CMakeFiles/546.dir/external_solvers/s_cat.c.o [ 28%] Building C object CMakeFiles/546.dir/external_solvers/s_cmp.c.o [ 29%] Building C object CMakeFiles/546.dir/external_solvers/s_copy.c.o [ 30%] Building C object CMakeFiles/546.dir/external_solvers/xerbla.c.o [ 30%] Building C object CMakeFiles/546.dir/gc/memory_pool.c.o [ 31%] Building C object CMakeFiles/546.dir/gc/omc_gc.c.o [ 32%] Building C object CMakeFiles/546.dir/math-support/pivot.c.o [ 33%] Building C object CMakeFiles/546.dir/meta/meta_modelica_catch.c.o [ 34%] Building C object CMakeFiles/546.dir/simulation/jacobian_util.c.o [ 34%] Building C object CMakeFiles/546.dir/simulation/omc_simulation_util.c.o [ 35%] Building C object CMakeFiles/546.dir/simulation/options.c.o [ 36%] Building C object CMakeFiles/546.dir/simulation/simulation_info_json.c.o [ 37%] Building C object CMakeFiles/546.dir/simulation/simulation_omc_assert.c.o [ 38%] Building C object CMakeFiles/546.dir/simulation/solver/cvode_solver.c.o [ 38%] Building C object CMakeFiles/546.dir/simulation/solver/delay.c.o [ 39%] Building C object CMakeFiles/546.dir/simulation/solver/fmi_events.c.o [ 40%] Building C object CMakeFiles/546.dir/simulation/solver/initialization/initialization.c.o [ 41%] Building C object CMakeFiles/546.dir/simulation/solver/linearSolverLapack.c.o [ 42%] Building C object CMakeFiles/546.dir/simulation/solver/linearSolverTotalPivot.c.o [ 42%] Building C object CMakeFiles/546.dir/simulation/solver/linearSystem.c.o [ 43%] Building C object CMakeFiles/546.dir/simulation/solver/model_help.c.o [ 44%] Building C object CMakeFiles/546.dir/simulation/solver/nonlinearSolverHomotopy.c.o [ 45%] Building C object CMakeFiles/546.dir/simulation/solver/nonlinearSolverHybrd.c.o [ 46%] Building C object CMakeFiles/546.dir/simulation/solver/nonlinearSystem.c.o [ 46%] Building C object CMakeFiles/546.dir/simulation/solver/nonlinearValuesList.c.o [ 47%] Building C object CMakeFiles/546.dir/simulation/solver/omc_math.c.o [ 48%] Building C object CMakeFiles/546.dir/simulation/solver/spatialDistribution.c.o [ 49%] Building C object CMakeFiles/546.dir/simulation/solver/stateset.c.o [ 50%] Building C object CMakeFiles/546.dir/simulation/solver/sundials_error.c.o [ 50%] Building C object CMakeFiles/546.dir/simulation/solver/synchronous.c.o [ 51%] Building C object CMakeFiles/546.dir/util/ModelicaUtilities.c.o [ 52%] Building C object CMakeFiles/546.dir/util/base_array.c.o [ 53%] Building C object CMakeFiles/546.dir/util/boolean_array.c.o [ 53%] Building C object CMakeFiles/546.dir/util/context.c.o [ 54%] Building C object CMakeFiles/546.dir/util/division.c.o [ 55%] Building C object CMakeFiles/546.dir/util/doubleEndedList.c.o [ 56%] Building C object CMakeFiles/546.dir/util/generic_array.c.o [ 57%] Building C object CMakeFiles/546.dir/util/index_spec.c.o [ 57%] Building C object CMakeFiles/546.dir/util/integer_array.c.o [ 58%] Building C object CMakeFiles/546.dir/util/list.c.o [ 59%] Building C object CMakeFiles/546.dir/util/modelica_string.c.o [ 60%] Building C object CMakeFiles/546.dir/util/modelica_string_lit.c.o [ 61%] Building C object CMakeFiles/546.dir/util/omc_error.c.o [ 61%] Building C object CMakeFiles/546.dir/util/omc_file.c.o [ 62%] Building C object CMakeFiles/546.dir/util/omc_init.c.o [ 63%] Building C object CMakeFiles/546.dir/util/omc_mmap.c.o [ 64%] Building C object CMakeFiles/546.dir/util/omc_msvc.c.o [ 65%] Building C object CMakeFiles/546.dir/util/omc_numbers.c.o [ 65%] Building C object CMakeFiles/546.dir/util/parallel_helper.c.o [ 66%] Building C object CMakeFiles/546.dir/util/rational.c.o [ 67%] Building C object CMakeFiles/546.dir/util/real_array.c.o [ 68%] Building C object CMakeFiles/546.dir/util/ringbuffer.c.o [ 69%] Building C object CMakeFiles/546.dir/util/simulation_options.c.o [ 69%] Building C object CMakeFiles/546.dir/util/string_array.c.o [ 70%] Building C object CMakeFiles/546.dir/util/utility.c.o [ 71%] Building C object CMakeFiles/546.dir/util/varinfo.c.o [ 72%] Building C object CMakeFiles/546.dir/ElectricalEnergyStorage_ElectricalEnergyStorage_Examples_SimpleStackCycling.c.o [ 73%] Building C object CMakeFiles/546.dir/ElectricalEnergyStorage_ElectricalEnergyStorage_Examples_SimpleStackCycling_01exo.c.o [ 73%] Building C object CMakeFiles/546.dir/ElectricalEnergyStorage_ElectricalEnergyStorage_Examples_SimpleStackCycling_02nls.c.o [ 74%] Building C object CMakeFiles/546.dir/ElectricalEnergyStorage_ElectricalEnergyStorage_Examples_SimpleStackCycling_03lsy.c.o [ 75%] Building C object CMakeFiles/546.dir/ElectricalEnergyStorage_ElectricalEnergyStorage_Examples_SimpleStackCycling_04set.c.o [ 76%] Building C object CMakeFiles/546.dir/ElectricalEnergyStorage_ElectricalEnergyStorage_Examples_SimpleStackCycling_05evt.c.o [ 76%] Building C object CMakeFiles/546.dir/ElectricalEnergyStorage_ElectricalEnergyStorage_Examples_SimpleStackCycling_06inz.c.o [ 77%] Building C object CMakeFiles/546.dir/ElectricalEnergyStorage_ElectricalEnergyStorage_Examples_SimpleStackCycling_07dly.c.o [ 78%] Building C object CMakeFiles/546.dir/ElectricalEnergyStorage_ElectricalEnergyStorage_Examples_SimpleStackCycling_08bnd.c.o [ 79%] Building C object CMakeFiles/546.dir/ElectricalEnergyStorage_ElectricalEnergyStorage_Examples_SimpleStackCycling_08bnd_part0.c.o [ 80%] Building C object CMakeFiles/546.dir/ElectricalEnergyStorage_ElectricalEnergyStorage_Examples_SimpleStackCycling_08bnd_part1.c.o [ 80%] Building C object CMakeFiles/546.dir/ElectricalEnergyStorage_ElectricalEnergyStorage_Examples_SimpleStackCycling_08bnd_part10.c.o [ 81%] Building C object CMakeFiles/546.dir/ElectricalEnergyStorage_ElectricalEnergyStorage_Examples_SimpleStackCycling_08bnd_part11.c.o [ 82%] Building C object CMakeFiles/546.dir/ElectricalEnergyStorage_ElectricalEnergyStorage_Examples_SimpleStackCycling_08bnd_part2.c.o [ 83%] Building C object CMakeFiles/546.dir/ElectricalEnergyStorage_ElectricalEnergyStorage_Examples_SimpleStackCycling_08bnd_part3.c.o [ 84%] Building C object CMakeFiles/546.dir/ElectricalEnergyStorage_ElectricalEnergyStorage_Examples_SimpleStackCycling_08bnd_part4.c.o [ 84%] Building C object CMakeFiles/546.dir/ElectricalEnergyStorage_ElectricalEnergyStorage_Examples_SimpleStackCycling_08bnd_part5.c.o [ 85%] Building C object CMakeFiles/546.dir/ElectricalEnergyStorage_ElectricalEnergyStorage_Examples_SimpleStackCycling_08bnd_part6.c.o [ 86%] Building C object CMakeFiles/546.dir/ElectricalEnergyStorage_ElectricalEnergyStorage_Examples_SimpleStackCycling_08bnd_part7.c.o [ 87%] Building C object CMakeFiles/546.dir/ElectricalEnergyStorage_ElectricalEnergyStorage_Examples_SimpleStackCycling_08bnd_part8.c.o [ 88%] Building C object CMakeFiles/546.dir/ElectricalEnergyStorage_ElectricalEnergyStorage_Examples_SimpleStackCycling_08bnd_part9.c.o [ 88%] Building C object CMakeFiles/546.dir/ElectricalEnergyStorage_ElectricalEnergyStorage_Examples_SimpleStackCycling_09alg.c.o [ 89%] Building C object CMakeFiles/546.dir/ElectricalEnergyStorage_ElectricalEnergyStorage_Examples_SimpleStackCycling_10asr.c.o [ 90%] Building C object CMakeFiles/546.dir/ElectricalEnergyStorage_ElectricalEnergyStorage_Examples_SimpleStackCycling_11mix.c.o [ 91%] Building C object CMakeFiles/546.dir/ElectricalEnergyStorage_ElectricalEnergyStorage_Examples_SimpleStackCycling_12jac.c.o [ 92%] Building C object CMakeFiles/546.dir/ElectricalEnergyStorage_ElectricalEnergyStorage_Examples_SimpleStackCycling_13opt.c.o [ 92%] Building C object CMakeFiles/546.dir/ElectricalEnergyStorage_ElectricalEnergyStorage_Examples_SimpleStackCycling_14lnz.c.o [ 93%] Building C object CMakeFiles/546.dir/ElectricalEnergyStorage_ElectricalEnergyStorage_Examples_SimpleStackCycling_15syn.c.o [ 94%] Building C object CMakeFiles/546.dir/ElectricalEnergyStorage_ElectricalEnergyStorage_Examples_SimpleStackCycling_16dae.c.o [ 95%] Building C object CMakeFiles/546.dir/ElectricalEnergyStorage_ElectricalEnergyStorage_Examples_SimpleStackCycling_17inl.c.o [ 96%] Building C object CMakeFiles/546.dir/ElectricalEnergyStorage_ElectricalEnergyStorage_Examples_SimpleStackCycling_18spd.c.o [ 96%] Building C object CMakeFiles/546.dir/ElectricalEnergyStorage_ElectricalEnergyStorage_Examples_SimpleStackCycling_FMU.c.o [ 97%] Building C object CMakeFiles/546.dir/ElectricalEnergyStorage_ElectricalEnergyStorage_Examples_SimpleStackCycling_functions.c.o [ 98%] Building C object CMakeFiles/546.dir/ElectricalEnergyStorage_ElectricalEnergyStorage_Examples_SimpleStackCycling_init_fmu.c.o gmake[2]: *** [CMakeFiles/546.dir/build.make:1798: CMakeFiles/546.dir/ElectricalEnergyStorage_ElectricalEnergyStorage_Examples_SimpleStackCycling_init_fmu.c.o] Interrupt gmake[1]: *** [CMakeFiles/Makefile2:84: CMakeFiles/546.dir/all] Interrupt gmake: *** [Makefile:136: all] Interrupt " [Timeout remaining time 0] Timeout error for cmd: "" <> buildModelFMU(ElectricalEnergyStorage.Examples.SimpleStackCycling,fileNamePrefix="ElectricalEnergyStorage_ElectricalEnergyStorage_Examples_SimpleStackCycling",fmuType="cs",version="2.0",platforms={"static"}) Failed to read output from testmodel.py, exit status != 0: Traceback (most recent call last): File "/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/./testmodel.py", line 410, in res=sendExpressionTimeout(omc, cmd, conf["ulimitOmc"]) File "/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/./testmodel.py", line 144, in sendExpressionTimeout raise TimeoutError(res[1]) __main__.TimeoutError During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/./testmodel.py", line 424, in writeResultAndExit(0, omc, omc_new) NameError: name 'omc' is not defined