Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_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.TGTypeIII_test,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeIII_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeIII_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.002248/0.002248, 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.081/1.081, allocations: 221.4 MB / 229.3 MB, free: 3.074 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.0008637/0.0008636, allocations: 101.4 kB / 280.1 MB, free: 1.188 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3804/0.3804, allocations: 78.1 MB / 409 MB, free: 15.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1217/0.5022, allocations: 75.5 MB / 484.5 MB, free: 4.488 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2549/0.7571, allocations: 69.35 MB / 0.5409 GB, free: 21.64 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.103/0.8602, allocations: 98.52 MB / 0.6371 GB, free: 6.395 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002046/0.8604, allocations: 79.95 kB / 0.6371 GB, free: 6.316 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: 237 * Number of variables: 237 Notification: Performance of Generate backend data structure: time 0.0737/0.9341, allocations: 30.1 MB / 0.6665 GB, free: 7.961 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.9342, allocations: 8 kB / 0.6665 GB, free: 7.953 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00319/0.9374, allocations: 0.599 MB / 0.6671 GB, free: 7.352 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001438/0.9388, allocations: 0.8424 MB / 0.668 GB, free: 6.453 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001973/0.939, allocations: 210.5 kB / 0.6682 GB, free: 6.219 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001347/0.9392, allocations: 55.91 kB / 0.6682 GB, free: 6.164 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001558/0.9407, allocations: 0.9217 MB / 0.6691 GB, free: 5.242 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001606/0.9423, allocations: 1.017 MB / 0.6701 GB, free: 4.184 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.958e-05/0.9424, allocations: 0 / 0.6701 GB, free: 4.184 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.986e-05/0.9425, allocations: 0 / 0.6701 GB, free: 4.184 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.263e-05/0.9425, allocations: 24 kB / 0.6701 GB, free: 4.16 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1585/1.101, allocations: 4.133 MB / 0.6742 GB, free: 140.6 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001155/1.102, allocations: 0.6322 MB / 0.6748 GB, free: 140.6 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007463/1.103, allocations: 0.6072 MB / 0.6754 GB, free: 140.6 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001174/1.103, allocations: 25.47 kB / 0.6754 GB, free: 140.6 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.845e-05/1.103, allocations: 46.69 kB / 0.6754 GB, free: 140.5 MB / 490.7 MB Notification: Performance of pre-optimization done (n=107): time 3.156e-06/1.103, allocations: 0 / 0.6754 GB, free: 140.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=107): time 0.01198/1.115, allocations: 4.505 MB / 0.6798 GB, free: 140.5 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.608e-05/1.115, allocations: 117.2 kB / 0.68 GB, free: 140.4 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009002/1.116, allocations: 0.7677 MB / 0.6807 GB, free: 140.2 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000113/1.116, allocations: 25.7 kB / 0.6807 GB, free: 140.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000194/1.116, allocations: 380.3 kB / 0.6811 GB, free: 140 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003033/1.117, allocations: 364.1 kB / 0.6814 GB, free: 139.8 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.724e-05/1.117, allocations: 0.625 kB / 0.6814 GB, free: 139.8 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.706e-05/1.117, allocations: 349.6 kB / 0.6818 GB, free: 139.5 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006683/1.118, allocations: 469.9 kB / 0.6822 GB, free: 139.5 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007366/1.118, allocations: 0.626 MB / 0.6828 GB, free: 139.4 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007258/1.119, allocations: 0.5226 MB / 0.6833 GB, free: 139.3 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/1.119, allocations: 0 / 0.6833 GB, free: 139.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01217/1.131, allocations: 4.704 MB / 0.6879 GB, free: 138.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002398/1.131, allocations: 1.489 MB / 0.6894 GB, free: 137.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/1.132, allocations: 6.562 kB / 0.6894 GB, free: 137.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005276/1.137, allocations: 1.821 MB / 0.6912 GB, free: 137.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007558/1.138, allocations: 164 kB / 0.6913 GB, free: 137.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01367/1.151, allocations: 6.805 MB / 0.698 GB, free: 135.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001515/1.153, allocations: 195.6 kB / 0.6982 GB, free: 135.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001082/1.153, allocations: 42.27 kB / 0.6982 GB, free: 135.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.355e-06/1.153, allocations: 5.438 kB / 0.6982 GB, free: 135.7 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01303/1.166, allocations: 4.526 MB / 0.7026 GB, free: 135.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.742e-05/1.166, allocations: 3.875 kB / 0.7026 GB, free: 135.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00547/1.171, allocations: 1.82 MB / 0.7044 GB, free: 135.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007068/1.172, allocations: 145.4 kB / 0.7045 GB, free: 135.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01371/1.186, allocations: 6.81 MB / 0.7112 GB, free: 133.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001453/1.187, allocations: 182.3 kB / 0.7114 GB, free: 133.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.467e-05/1.188, allocations: 33.72 kB / 0.7114 GB, free: 133.7 MB / 490.7 MB Warning: Assuming fixed start value for the following 4 variables: tGTypeIII.integrator3.y:VARIABLE(start = tGTypeIII.integrator3.y_start ) "Connector of Real output signal" type: Real tGTypeIII.integrator2.y:VARIABLE(start = tGTypeIII.integrator2.y_start ) "Connector of Real output signal" type: Real tGTypeIII.integrator1.y:VARIABLE(start = tGTypeIII.integrator1.y_start ) "Connector of Real output signal" type: Real tGTypeIII.integrator.y:VARIABLE(start = tGTypeIII.integrator.y_start ) "Connector of Real output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 4 (tGTypeIII.integrator3.local_reset,tGTypeIII.integrator2.local_reset,tGTypeIII.integrator1.local_reset,tGTypeIII.integrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 94 * 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.0003622/1.188, allocations: 140.6 kB / 0.7115 GB, free: 133.6 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002125/1.188, allocations: 129.7 kB / 0.7117 GB, free: 133.5 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0119/1.2, allocations: 4.604 MB / 0.7162 GB, free: 132.8 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.187e-05/1.2, allocations: 10.22 kB / 0.7162 GB, free: 132.8 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/1.2, allocations: 2.812 kB / 0.7162 GB, free: 132.8 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.559e-05/1.2, allocations: 7.125 kB / 0.7162 GB, free: 132.8 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01352/1.214, allocations: 6.08 MB / 0.7221 GB, free: 130.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.145e-06/1.214, allocations: 3.156 kB / 0.7221 GB, free: 130.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006717/1.214, allocations: 122.4 kB / 0.7222 GB, free: 130.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004948/1.219, allocations: 1.792 MB / 0.724 GB, free: 130.5 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001193/1.219, allocations: 7.562 kB / 0.724 GB, free: 130.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01233/1.232, allocations: 5.986 MB / 0.7298 GB, free: 127.5 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/1.232, allocations: 9 kB / 0.7298 GB, free: 127.4 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01426/1.246, allocations: 5.418 MB / 0.7351 GB, free: 124.2 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01448/1.261, allocations: 6.583 MB / 0.7416 GB, free: 118.5 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004815/1.261, allocations: 220.8 kB / 0.7418 GB, free: 118.3 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002084/1.261, allocations: 4 kB / 0.7418 GB, free: 118.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001105/1.262, allocations: 137.7 kB / 0.7419 GB, free: 118.2 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002596/1.263, allocations: 115.8 kB / 0.742 GB, free: 118.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.409e-05/1.263, allocations: 32 kB / 0.7421 GB, free: 118.1 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0006646/1.263, allocations: 0.5852 MB / 0.7426 GB, free: 117.6 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002815/1.266, allocations: 0.6868 MB / 0.7433 GB, free: 116.9 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (gen.delta,gen.w,gen.e1q,tGTypeIII.integrator.y,tGTypeIII.integrator1.y,tGTypeIII.integrator2.y,tGTypeIII.integrator3.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 69 * 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.0002402/1.267, allocations: 131.9 kB / 0.7434 GB, free: 116.8 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008777/1.275, allocations: 3.686 MB / 0.747 GB, free: 113.4 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/1.275, allocations: 0 / 0.747 GB, free: 113.4 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004199/1.28, allocations: 1.488 MB / 0.7485 GB, free: 112.1 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001223/1.281, allocations: 95.56 kB / 0.7486 GB, free: 112 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003978/1.285, allocations: 1.746 MB / 0.7503 GB, free: 110.4 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006677/1.285, allocations: 1.237 MB / 0.7515 GB, free: 109.4 MB / 490.7 MB Notification: Performance of SimCode: time 7.01e-07/1.285, allocations: 0 / 0.7515 GB, free: 109.4 MB / 490.7 MB (rm -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeIII_test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeIII_test.fmu > OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe 2>&1)