Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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_release_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeIV_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test,fileNamePrefix="OpenIPSL_release_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.002111/0.002111, 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.077/1.077, allocations: 221.4 MB / 229.3 MB, free: 3.031 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.0008002/0.0008002, allocations: 94.59 kB / 280.1 MB, free: 1.309 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3681/0.3681, allocations: 78.1 MB / 409 MB, free: 15.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.126/0.4942, allocations: 75.5 MB / 484.5 MB, free: 4.48 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2393/0.7335, allocations: 69.34 MB / 0.5408 GB, free: 21.52 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1018/0.8353, allocations: 98.61 MB / 0.6371 GB, free: 6.426 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002012/0.8355, allocations: 91.88 kB / 0.6372 GB, free: 6.336 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.07704/0.9126, allocations: 30.79 MB / 0.6673 GB, free: 7.301 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.9126, allocations: 12 kB / 0.6673 GB, free: 7.289 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003402/0.916, allocations: 0.6068 MB / 0.6679 GB, free: 6.68 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00166/0.9177, allocations: 0.8701 MB / 0.6688 GB, free: 5.754 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000205/0.9179, allocations: 218.4 kB / 0.669 GB, free: 5.512 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001675/0.9181, allocations: 56 kB / 0.669 GB, free: 5.457 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001679/0.9198, allocations: 0.9334 MB / 0.6699 GB, free: 4.523 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001847/0.9216, allocations: 1.046 MB / 0.6709 GB, free: 3.43 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.761e-05/0.9217, allocations: 3.938 kB / 0.671 GB, free: 3.426 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.785e-05/0.9218, allocations: 3.938 kB / 0.671 GB, free: 3.422 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.499e-05/0.9218, allocations: 24 kB / 0.671 GB, free: 3.398 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1562/1.078, allocations: 4.362 MB / 0.6752 GB, free: 139.1 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001062/1.079, allocations: 0.6507 MB / 0.6759 GB, free: 139.1 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009208/1.08, allocations: 0.6101 MB / 0.6765 GB, free: 139.1 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001515/1.08, allocations: 27.81 kB / 0.6765 GB, free: 139.1 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.133e-05/1.08, allocations: 44 kB / 0.6765 GB, free: 139 MB / 490.7 MB Notification: Performance of pre-optimization done (n=110): time 4.669e-06/1.08, allocations: 0 / 0.6765 GB, free: 139 MB / 490.7 MB Notification: Performance of matching and sorting (n=110): time 0.01233/1.093, allocations: 4.53 MB / 0.681 GB, free: 139 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.033e-05/1.093, allocations: 122.8 kB / 0.6811 GB, free: 138.9 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009485/1.094, allocations: 0.809 MB / 0.6819 GB, free: 138.7 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.425e-05/1.094, allocations: 26.61 kB / 0.6819 GB, free: 138.7 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001679/1.094, allocations: 387.3 kB / 0.6823 GB, free: 138.5 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003073/1.094, allocations: 379.4 kB / 0.6826 GB, free: 138.3 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.213e-05/1.094, allocations: 2.531 kB / 0.6826 GB, free: 138.3 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.264e-05/1.094, allocations: 347.9 kB / 0.683 GB, free: 138 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007167/1.095, allocations: 474.8 kB / 0.6834 GB, free: 138 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007396/1.096, allocations: 0.6493 MB / 0.684 GB, free: 137.8 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007614/1.097, allocations: 0.5358 MB / 0.6846 GB, free: 137.8 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/1.097, allocations: 0 / 0.6846 GB, free: 137.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=141) (initialization): time 0.01238/1.109, allocations: 4.729 MB / 0.6892 GB, free: 137.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002677/1.109, allocations: 1.68 MB / 0.6908 GB, free: 135.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/1.109, allocations: 5.062 kB / 0.6908 GB, free: 135.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005343/1.115, allocations: 1.827 MB / 0.6926 GB, free: 135.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007564/1.115, allocations: 172.3 kB / 0.6928 GB, free: 135.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01396/1.129, allocations: 6.791 MB / 0.6994 GB, free: 134 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001557/1.131, allocations: 197.4 kB / 0.6996 GB, free: 134 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001998/1.131, allocations: 44.3 kB / 0.6996 GB, free: 134 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.437e-06/1.131, allocations: 3.281 kB / 0.6996 GB, free: 134 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0132/1.144, allocations: 4.551 MB / 0.7041 GB, free: 133.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.403e-05/1.145, allocations: 12.03 kB / 0.7041 GB, free: 133.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00567/1.15, allocations: 1.827 MB / 0.7059 GB, free: 133.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007808/1.151, allocations: 153 kB / 0.706 GB, free: 133.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01379/1.165, allocations: 6.804 MB / 0.7127 GB, free: 132 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001404/1.166, allocations: 184 kB / 0.7129 GB, free: 132 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001636/1.166, allocations: 36.41 kB / 0.7129 GB, free: 132 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.0003818/1.167, allocations: 141.5 kB / 0.713 GB, free: 131.9 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003292/1.167, allocations: 136.4 kB / 0.7132 GB, free: 131.8 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01194/1.179, allocations: 4.606 MB / 0.7176 GB, free: 130.8 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.941e-05/1.179, allocations: 13.77 kB / 0.7177 GB, free: 130.8 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/1.179, allocations: 0 / 0.7177 GB, free: 130.8 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.473e-05/1.179, allocations: 6 kB / 0.7177 GB, free: 130.8 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01428/1.193, allocations: 6.156 MB / 0.7237 GB, free: 128.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/1.193, allocations: 4 kB / 0.7237 GB, free: 128.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006666/1.194, allocations: 124.8 kB / 0.7238 GB, free: 128.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005017/1.199, allocations: 1.788 MB / 0.7255 GB, free: 128.6 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001169/1.199, allocations: 9.156 kB / 0.7256 GB, free: 128.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01246/1.212, allocations: 6.003 MB / 0.7314 GB, free: 125.5 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/1.212, allocations: 0 / 0.7314 GB, free: 125.5 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01432/1.226, allocations: 5.468 MB / 0.7368 GB, free: 122.2 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01464/1.241, allocations: 6.637 MB / 0.7432 GB, free: 116.5 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003974/1.241, allocations: 228.5 kB / 0.7435 GB, free: 116.2 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002713/1.242, allocations: 8 kB / 0.7435 GB, free: 116.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001171/1.243, allocations: 137.5 kB / 0.7436 GB, free: 116.1 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002683/1.243, allocations: 124.4 kB / 0.7437 GB, free: 116.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.251e-05/1.243, allocations: 24 kB / 0.7437 GB, free: 116 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0007197/1.244, allocations: 0.6143 MB / 0.7443 GB, free: 115.5 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003181/1.247, allocations: 0.6947 MB / 0.745 GB, free: 114.8 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.0002603/1.247, allocations: 133.5 kB / 0.7451 GB, free: 114.7 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008727/1.256, allocations: 3.723 MB / 0.7488 GB, free: 111.3 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/1.256, allocations: 0 / 0.7488 GB, free: 111.3 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003859/1.26, allocations: 1.505 MB / 0.7503 GB, free: 110 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007072/1.261, allocations: 99.48 kB / 0.7503 GB, free: 109.9 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004443/1.265, allocations: 1.82 MB / 0.7521 GB, free: 108.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007576/1.266, allocations: 1.258 MB / 0.7534 GB, free: 107.1 MB / 490.7 MB Notification: Performance of SimCode: time 3.6e-07/1.266, allocations: 0 / 0.7534 GB, free: 107.1 MB / 490.7 MB (rm -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeIV_test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeIV_test.fmu > OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe 2>&1)