Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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) 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) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeIV_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeIV_test",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00215/0.00215, allocations: 182.3 kB / 7.46 MB, free: 2.52 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.255/1.255, allocations: 221.4 MB / 229.3 MB, free: 3.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 98.02 kB / 280.1 MB, free: 1.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4692/0.4692, allocations: 78.91 MB / 409.8 MB, free: 14.97 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1634/0.6326, allocations: 75.66 MB / 485.5 MB, free: 3.547 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3681/1.001, allocations: 69.49 MB / 0.542 GB, free: 20.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1396/1.14, allocations: 99.21 MB / 0.6388 GB, free: 4.801 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002796/1.141, allocations: 83.94 kB / 0.6389 GB, free: 4.719 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 244 * Number of variables: 244 Notification: Performance of Generate backend data structure: time 0.08787/1.229, allocations: 31.07 MB / 0.6693 GB, free: 5.387 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/1.229, allocations: 8 kB / 0.6693 GB, free: 5.379 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003831/1.233, allocations: 0.6068 MB / 0.6699 GB, free: 4.77 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002072/1.235, allocations: 0.878 MB / 0.6707 GB, free: 3.836 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002487/1.235, allocations: 210.4 kB / 0.6709 GB, free: 3.602 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002549/1.235, allocations: 64 kB / 0.671 GB, free: 3.539 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001957/1.237, allocations: 0.9295 MB / 0.6719 GB, free: 2.609 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001908/1.239, allocations: 1.046 MB / 0.6729 GB, free: 1.516 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.359e-05/1.239, allocations: 4 kB / 0.6729 GB, free: 1.512 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001007/1.239, allocations: 0 / 0.6729 GB, free: 1.512 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.103e-05/1.239, allocations: 27.94 kB / 0.6729 GB, free: 1.484 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2428/1.482, allocations: 4.352 MB / 0.6772 GB, free: 138.3 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001026/1.483, allocations: 0.6515 MB / 0.6778 GB, free: 138.2 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008065/1.484, allocations: 0.6129 MB / 0.6784 GB, free: 138.2 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001252/1.484, allocations: 24.64 kB / 0.6784 GB, free: 138.2 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.313e-05/1.484, allocations: 48.41 kB / 0.6785 GB, free: 138.2 MB / 490.7 MB Notification: Performance of pre-optimization done (n=110): time 3.266e-06/1.484, allocations: 0 / 0.6785 GB, free: 138.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=110): time 0.01279/1.497, allocations: 4.534 MB / 0.6829 GB, free: 138 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.169e-05/1.497, allocations: 114.3 kB / 0.683 GB, free: 137.9 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001195/1.498, allocations: 0.8133 MB / 0.6838 GB, free: 137.7 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002186/1.498, allocations: 29.7 kB / 0.6839 GB, free: 137.7 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002058/1.499, allocations: 389.5 kB / 0.6842 GB, free: 137.5 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003475/1.499, allocations: 380 kB / 0.6846 GB, free: 137.3 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.716e-05/1.499, allocations: 0 / 0.6846 GB, free: 137.3 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.593e-05/1.499, allocations: 348 kB / 0.6849 GB, free: 137 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006963/1.5, allocations: 473.7 kB / 0.6854 GB, free: 137 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007637/1.501, allocations: 0.648 MB / 0.686 GB, free: 136.9 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007532/1.501, allocations: 0.534 MB / 0.6865 GB, free: 136.8 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/1.501, allocations: 0 / 0.6865 GB, free: 136.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=141) (initialization): time 0.01301/1.514, allocations: 4.722 MB / 0.6911 GB, free: 136.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003945/1.515, allocations: 1.678 MB / 0.6928 GB, free: 134.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/1.515, allocations: 7.438 kB / 0.6928 GB, free: 134.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00541/1.52, allocations: 1.822 MB / 0.6946 GB, free: 134.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008697/1.521, allocations: 180.4 kB / 0.6947 GB, free: 134.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01472/1.536, allocations: 6.8 MB / 0.7014 GB, free: 133 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001728/1.538, allocations: 199.7 kB / 0.7016 GB, free: 133 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001352/1.538, allocations: 38.75 kB / 0.7016 GB, free: 133 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/1.538, allocations: 4.531 kB / 0.7016 GB, free: 133 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01433/1.552, allocations: 4.55 MB / 0.706 GB, free: 132.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.678e-05/1.552, allocations: 7.453 kB / 0.7061 GB, free: 132.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006294/1.559, allocations: 1.828 MB / 0.7078 GB, free: 132.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008848/1.559, allocations: 158 kB / 0.708 GB, free: 132.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01506/1.575, allocations: 6.799 MB / 0.7146 GB, free: 130.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001684/1.576, allocations: 181.4 kB / 0.7148 GB, free: 130.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002568/1.577, allocations: 41.84 kB / 0.7148 GB, free: 130.5 MB / 490.7 MB Warning: Assuming fixed start value for the following 5 variables: tGTypeIV.integrator1.y:VARIABLE(start = tGTypeIV.integrator1.y_start ) "Connector of Real output signal" type: Real tGTypeIV.integrator5.y:VARIABLE(start = tGTypeIV.integrator5.y_start ) "Connector of Real output signal" type: Real tGTypeIV.integrator4.y:VARIABLE(start = tGTypeIV.integrator4.y_start ) "Connector of Real output signal" type: Real tGTypeIV.integrator2.y:VARIABLE(start = tGTypeIV.integrator2.y_start ) "Connector of Real output signal" type: Real tGTypeIV.integrator3.y:VARIABLE(start = tGTypeIV.integrator3.y_start ) "Connector of Real output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 5 (tGTypeIV.integrator1.local_reset,tGTypeIV.integrator5.local_reset,tGTypeIV.integrator4.local_reset,tGTypeIV.integrator2.local_reset,tGTypeIV.integrator3.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {25 16} Notification: Performance of prepare postOptimizeDAE: time 0.0005872/1.577, allocations: 145.9 kB / 0.715 GB, free: 130.4 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003843/1.578, allocations: 136.9 kB / 0.7151 GB, free: 130.4 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01299/1.591, allocations: 4.618 MB / 0.7196 GB, free: 129.3 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.961e-05/1.591, allocations: 11.47 kB / 0.7196 GB, free: 129.3 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/1.591, allocations: 1.875 kB / 0.7196 GB, free: 129.3 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.71e-05/1.591, allocations: 7.453 kB / 0.7196 GB, free: 129.3 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01643/1.607, allocations: 6.139 MB / 0.7256 GB, free: 127.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-05/1.607, allocations: 2.75 kB / 0.7256 GB, free: 127.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008663/1.608, allocations: 131.2 kB / 0.7258 GB, free: 127.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006193/1.614, allocations: 1.786 MB / 0.7275 GB, free: 127.1 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002537/1.615, allocations: 6.516 kB / 0.7275 GB, free: 127.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01561/1.63, allocations: 5.994 MB / 0.7334 GB, free: 124 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.115e-06/1.63, allocations: 4.562 kB / 0.7334 GB, free: 124 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01629/1.646, allocations: 5.468 MB / 0.7387 GB, free: 120.3 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0156/1.662, allocations: 6.643 MB / 0.7452 GB, free: 114.6 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007894/1.663, allocations: 221.4 kB / 0.7454 GB, free: 114.4 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006752/1.664, allocations: 4 kB / 0.7454 GB, free: 114.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001714/1.665, allocations: 142.7 kB / 0.7456 GB, free: 114.2 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004288/1.666, allocations: 114.9 kB / 0.7457 GB, free: 114.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001468/1.666, allocations: 33.91 kB / 0.7457 GB, free: 114.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.001039/1.667, allocations: 0.6145 MB / 0.7463 GB, free: 113.6 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004681/1.672, allocations: 0.6934 MB / 0.747 GB, free: 112.9 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (gen.delta,gen.w,gen.e1q,tGTypeIV.integrator3.y,tGTypeIV.integrator2.y,tGTypeIV.integrator4.y,tGTypeIV.integrator5.y,tGTypeIV.integrator1.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004909/1.672, allocations: 151.5 kB / 0.7471 GB, free: 112.8 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01012/1.682, allocations: 3.72 MB / 0.7507 GB, free: 109.4 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.053e-06/1.682, allocations: 0 / 0.7507 GB, free: 109.4 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004344/1.687, allocations: 1.501 MB / 0.7522 GB, free: 108.1 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001504/1.688, allocations: 99.53 kB / 0.7523 GB, free: 108 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006299/1.695, allocations: 1.817 MB / 0.7541 GB, free: 106.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001103/1.696, allocations: 1.256 MB / 0.7553 GB, free: 105.3 MB / 490.7 MB Notification: Performance of SimCode: time 1.312e-06/1.696, allocations: 4 kB / 0.7553 GB, free: 105.2 MB / 490.7 MB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeIV_test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeIV_test.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe 2>&1)