Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.TGTypeI_test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeI_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeI_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.00353/0.00353, allocations: 178.6 kB / 7.455 MB, free: 2.508 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.258/1.258, allocations: 221.4 MB / 229.3 MB, free: 3.176 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.0008779/0.0008779, allocations: 100.7 kB / 280.1 MB, free: 1.234 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4707/0.4707, allocations: 78.05 MB / 408.9 MB, free: 15.52 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1722/0.643, allocations: 75.5 MB / 484.4 MB, free: 4.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3925/1.035, allocations: 69.35 MB / 0.5408 GB, free: 21.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1289/1.164, allocations: 96.31 MB / 0.6349 GB, free: 8.457 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003182/1.165, allocations: 91.92 kB / 0.635 GB, free: 8.367 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: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.07603/1.241, allocations: 25.76 MB / 0.6601 GB, free: 14.38 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/1.241, allocations: 8 kB / 0.6601 GB, free: 14.37 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003514/1.244, allocations: 0.5682 MB / 0.6607 GB, free: 13.8 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001596/1.246, allocations: 0.6953 MB / 0.6614 GB, free: 13.07 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003541/1.246, allocations: 240.1 kB / 0.6616 GB, free: 12.79 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001409/1.247, allocations: 40 kB / 0.6616 GB, free: 12.75 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001632/1.248, allocations: 0.8045 MB / 0.6624 GB, free: 11.95 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001608/1.25, allocations: 0.8056 MB / 0.6632 GB, free: 11.13 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.382e-05/1.25, allocations: 3.906 kB / 0.6632 GB, free: 11.13 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.47e-05/1.25, allocations: 0 / 0.6632 GB, free: 11.13 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.243e-05/1.25, allocations: 20 kB / 0.6632 GB, free: 11.11 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006327/1.256, allocations: 2.988 MB / 0.6661 GB, free: 8.004 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009371/1.257, allocations: 0.5541 MB / 0.6667 GB, free: 7.441 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008655/1.258, allocations: 0.5585 MB / 0.6672 GB, free: 6.879 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001247/1.258, allocations: 16.75 kB / 0.6672 GB, free: 6.863 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.173e-05/1.258, allocations: 43.28 kB / 0.6673 GB, free: 6.812 MB / 490.7 MB Notification: Performance of pre-optimization done (n=92): time 3.557e-06/1.258, allocations: 0 / 0.6673 GB, free: 6.812 MB / 490.7 MB Notification: Performance of matching and sorting (n=92): time 0.01439/1.273, allocations: 4.417 MB / 0.6716 GB, free: 2.379 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.963e-05/1.273, allocations: 68.19 kB / 0.6717 GB, free: 2.297 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001258/1.274, allocations: 0.6471 MB / 0.6723 GB, free: 1.629 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003205/1.274, allocations: 25.7 kB / 0.6723 GB, free: 1.598 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000268/1.275, allocations: 296.4 kB / 0.6726 GB, free: 1.301 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004632/1.275, allocations: 315.2 kB / 0.6729 GB, free: 0.9883 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.752e-05/1.275, allocations: 0 / 0.6729 GB, free: 0.9883 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002264/1.276, allocations: 345.9 kB / 0.6732 GB, free: 0.6445 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008013/1.276, allocations: 434 kB / 0.6736 GB, free: 228 kB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2127/1.489, allocations: 0.5243 MB / 0.6741 GB, free: 142.1 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007462/1.49, allocations: 474.9 kB / 0.6746 GB, free: 142.1 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.698e-06/1.49, allocations: 0 / 0.6746 GB, free: 142.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.01323/1.503, allocations: 4.554 MB / 0.679 GB, free: 142 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/1.503, allocations: 7.031 kB / 0.6791 GB, free: 142 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.889e-05/1.503, allocations: 6.438 kB / 0.6791 GB, free: 142 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005823/1.509, allocations: 1.808 MB / 0.6808 GB, free: 142 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007534/1.51, allocations: 122.9 kB / 0.6809 GB, free: 142 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01457/1.524, allocations: 6.791 MB / 0.6876 GB, free: 140.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001355/1.526, allocations: 177.8 kB / 0.6877 GB, free: 140.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001038/1.526, allocations: 30.81 kB / 0.6878 GB, free: 140.5 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 70 * 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.0002032/1.526, allocations: 114.8 kB / 0.6879 GB, free: 140.4 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001878/1.526, allocations: 112.5 kB / 0.688 GB, free: 140.3 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01239/1.539, allocations: 4.498 MB / 0.6924 GB, free: 140 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-05/1.539, allocations: 7.5 kB / 0.6924 GB, free: 140 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/1.539, allocations: 0 / 0.6924 GB, free: 140 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.586e-05/1.539, allocations: 3.844 kB / 0.6924 GB, free: 140 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01611/1.555, allocations: 5.852 MB / 0.6981 GB, free: 139.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-05/1.555, allocations: 1.062 kB / 0.6981 GB, free: 139.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007621/1.556, allocations: 94.08 kB / 0.6982 GB, free: 139.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005912/1.562, allocations: 1.787 MB / 0.6999 GB, free: 139 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002016/1.562, allocations: 2.188 kB / 0.6999 GB, free: 139 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01361/1.575, allocations: 5.994 MB / 0.7058 GB, free: 137.6 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/1.576, allocations: 2.625 kB / 0.7058 GB, free: 137.6 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01421/1.59, allocations: 5.27 MB / 0.711 GB, free: 137.1 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01548/1.605, allocations: 6.394 MB / 0.7172 GB, free: 134.9 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000472/1.606, allocations: 202.4 kB / 0.7174 GB, free: 134.8 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001884/1.606, allocations: 0 / 0.7174 GB, free: 134.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001088/1.607, allocations: 133.7 kB / 0.7175 GB, free: 134.8 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002987/1.607, allocations: 112.2 kB / 0.7176 GB, free: 134.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.83e-05/1.607, allocations: 25.22 kB / 0.7176 GB, free: 134.7 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0007428/1.608, allocations: 0.4958 MB / 0.7181 GB, free: 134.5 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001942/1.61, allocations: 388.3 kB / 0.7185 GB, free: 134.5 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (gen.delta,gen.w,gen.e1q,tGTypeI.xg1,tGTypeI.xg2,tGTypeI.xg3) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 54 * 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.0002961/1.61, allocations: 133.8 kB / 0.7186 GB, free: 134.4 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005204/1.616, allocations: 1.965 MB / 0.7205 GB, free: 133.7 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/1.616, allocations: 0 / 0.7205 GB, free: 133.7 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004124/1.62, allocations: 1.446 MB / 0.722 GB, free: 133.2 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006065/1.62, allocations: 61.84 kB / 0.722 GB, free: 133.2 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00376/1.624, allocations: 1.518 MB / 0.7235 GB, free: 132.4 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008148/1.625, allocations: 1.121 MB / 0.7246 GB, free: 131.7 MB / 490.7 MB Notification: Performance of SimCode: time 6.01e-07/1.625, allocations: 1.219 kB / 0.7246 GB, free: 131.7 MB / 490.7 MB (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeI_test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeI_test.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe 2>&1)