Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_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.TGTypeVI_test,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeVI_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeVI_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.003705/0.003705, allocations: 183.2 kB / 7.461 MB, free: 2.5 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.343/1.343, allocations: 221.4 MB / 229.3 MB, free: 3.082 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.0009627/0.0009624, allocations: 101.6 kB / 280.1 MB, free: 1.289 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4485/0.4485, allocations: 78.92 MB / 409.8 MB, free: 14.97 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1531/0.6016, allocations: 75.65 MB / 485.5 MB, free: 3.559 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3479/0.9495, allocations: 69.5 MB / 0.542 GB, free: 20.8 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1285/1.078, allocations: 101.5 MB / 0.6411 GB, free: 2.371 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002637/1.078, allocations: 79.95 kB / 0.6412 GB, free: 2.293 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: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.09155/1.17, allocations: 32.95 MB / 0.6734 GB, free: 1.062 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/1.17, allocations: 12 kB / 0.6734 GB, free: 1.051 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003888/1.174, allocations: 0.6105 MB / 0.674 GB, free: 448 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2236/1.397, allocations: 0.9056 MB / 0.6749 GB, free: 137.3 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002126/1.398, allocations: 211.3 kB / 0.6751 GB, free: 137.2 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001924/1.398, allocations: 63.53 kB / 0.6751 GB, free: 137.2 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001899/1.4, allocations: 1.04 MB / 0.6761 GB, free: 137.2 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001787/1.402, allocations: 1.092 MB / 0.6772 GB, free: 137 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.569e-05/1.402, allocations: 3.375 kB / 0.6772 GB, free: 137 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000109/1.402, allocations: 6.281 kB / 0.6772 GB, free: 137 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.482e-05/1.402, allocations: 22.75 kB / 0.6772 GB, free: 137 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007811/1.41, allocations: 4.165 MB / 0.6813 GB, free: 135.8 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001283/1.411, allocations: 0.7532 MB / 0.682 GB, free: 135.8 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000925/1.412, allocations: 0.6699 MB / 0.6827 GB, free: 135.8 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001277/1.412, allocations: 15 kB / 0.6827 GB, free: 135.8 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.095e-05/1.412, allocations: 53.41 kB / 0.6828 GB, free: 135.7 MB / 490.7 MB Notification: Performance of pre-optimization done (n=116): time 3.777e-06/1.412, allocations: 0 / 0.6828 GB, free: 135.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=116): time 0.01402/1.426, allocations: 4.632 MB / 0.6873 GB, free: 135.5 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.366e-05/1.426, allocations: 115.3 kB / 0.6874 GB, free: 135.4 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001673/1.428, allocations: 0.841 MB / 0.6882 GB, free: 135.2 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003105/1.428, allocations: 25.7 kB / 0.6882 GB, free: 135.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003061/1.429, allocations: 410.2 kB / 0.6886 GB, free: 135 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004761/1.429, allocations: 393.6 kB / 0.689 GB, free: 134.8 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.944e-05/1.429, allocations: 4 kB / 0.689 GB, free: 134.8 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001188/1.429, allocations: 348.1 kB / 0.6893 GB, free: 134.5 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000859/1.43, allocations: 0.5057 MB / 0.6898 GB, free: 134.5 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001005/1.431, allocations: 0.6734 MB / 0.6905 GB, free: 134.3 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001027/1.432, allocations: 0.5721 MB / 0.6911 GB, free: 134.3 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.085e-06/1.432, allocations: 6.75 kB / 0.6911 GB, free: 134.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.01414/1.446, allocations: 4.846 MB / 0.6958 GB, free: 133.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003626/1.447, allocations: 1.329 MB / 0.6971 GB, free: 132.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.432e-05/1.447, allocations: 3.969 kB / 0.6971 GB, free: 132.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005753/1.453, allocations: 1.825 MB / 0.6989 GB, free: 132.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001057/1.454, allocations: 183.9 kB / 0.6991 GB, free: 132.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01649/1.47, allocations: 6.791 MB / 0.7057 GB, free: 130.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002117/1.472, allocations: 226.9 kB / 0.7059 GB, free: 130.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000149/1.473, allocations: 43.39 kB / 0.7059 GB, free: 130.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/1.473, allocations: 3.906 kB / 0.706 GB, free: 130.8 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01516/1.488, allocations: 4.669 MB / 0.7105 GB, free: 130.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.761e-05/1.488, allocations: 3.312 kB / 0.7105 GB, free: 130.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006067/1.494, allocations: 1.83 MB / 0.7123 GB, free: 130.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001063/1.495, allocations: 170.2 kB / 0.7125 GB, free: 130.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01462/1.51, allocations: 6.802 MB / 0.7191 GB, free: 127.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001938/1.512, allocations: 198.7 kB / 0.7193 GB, free: 127.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001415/1.512, allocations: 44.33 kB / 0.7193 GB, free: 127.2 MB / 490.7 MB Warning: Assuming fixed start value for the following 5 variables: tGTypeVI.transferFunction.x_scaled[1]:VARIABLE(protected = true ) "Scaled vector x" type: Real [1] tGTypeVI.derivative.x:VARIABLE(start = tGTypeVI.derivative.x_start ) "State of block" type: Real tGTypeVI.integrator5.y:VARIABLE(start = tGTypeVI.integrator5.y_start ) "Connector of Real output signal" type: Real tGTypeVI.integrator.y:VARIABLE(start = tGTypeVI.integrator.y_start ) "Connector of Real output signal" type: Real tGTypeVI.integrator3.y:VARIABLE(start = tGTypeVI.integrator3.y_start ) "Connector of Real output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 4 (tGTypeVI.realToBoolean.y,tGTypeVI.integrator5.local_reset,tGTypeVI.integrator3.local_reset,tGTypeVI.integrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 103 * 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.0005317/1.512, allocations: 131.3 kB / 0.7195 GB, free: 127.1 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003581/1.513, allocations: 145.8 kB / 0.7196 GB, free: 127 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01393/1.527, allocations: 4.729 MB / 0.7242 GB, free: 125.9 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.445e-05/1.527, allocations: 10.72 kB / 0.7242 GB, free: 125.9 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/1.527, allocations: 0 / 0.7242 GB, free: 125.9 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-05/1.527, allocations: 6.891 kB / 0.7242 GB, free: 125.9 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0167/1.543, allocations: 6.335 MB / 0.7304 GB, free: 123.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.44e-05/1.544, allocations: 0 / 0.7304 GB, free: 123.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001138/1.545, allocations: 146 kB / 0.7306 GB, free: 123.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006129/1.551, allocations: 1.791 MB / 0.7323 GB, free: 123.6 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003081/1.551, allocations: 9.562 kB / 0.7323 GB, free: 123.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0142/1.565, allocations: 6.009 MB / 0.7382 GB, free: 119.8 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.673e-06/1.565, allocations: 0 / 0.7382 GB, free: 119.8 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01502/1.58, allocations: 5.632 MB / 0.7437 GB, free: 115.1 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01554/1.596, allocations: 6.889 MB / 0.7504 GB, free: 109.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006606/1.597, allocations: 225.2 kB / 0.7506 GB, free: 108.9 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002461/1.597, allocations: 7.906 kB / 0.7506 GB, free: 108.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001411/1.598, allocations: 160.3 kB / 0.7508 GB, free: 108.8 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003602/1.599, allocations: 125.4 kB / 0.7509 GB, free: 108.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000102/1.599, allocations: 31.89 kB / 0.7509 GB, free: 108.7 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0009291/1.6, allocations: 0.6341 MB / 0.7516 GB, free: 108.1 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003484/1.603, allocations: 0.7185 MB / 0.7523 GB, free: 107.4 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,tGTypeVI.integrator.y,tGTypeVI.integrator3.y,tGTypeVI.integrator5.y,tGTypeVI.derivative.x,tGTypeVI.transferFunction.x_scaled[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 78 * 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.0003111/1.604, allocations: 137.1 kB / 0.7524 GB, free: 107.3 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.009796/1.613, allocations: 3.867 MB / 0.7562 GB, free: 103.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.501e-06/1.614, allocations: 3.562 kB / 0.7562 GB, free: 103.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004226/1.618, allocations: 1.549 MB / 0.7577 GB, free: 102.4 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001117/1.619, allocations: 121.4 kB / 0.7578 GB, free: 102.3 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004781/1.624, allocations: 1.961 MB / 0.7597 GB, free: 100.5 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007961/1.625, allocations: 1.311 MB / 0.761 GB, free: 99.4 MB / 490.7 MB Notification: Performance of SimCode: time 6.61e-07/1.625, allocations: 0 / 0.761 GB, free: 99.4 MB / 490.7 MB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeVI_test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeVI_test.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe 2>&1)