Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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_release_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeVI_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test,fileNamePrefix="OpenIPSL_release_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.002359/0.002359, allocations: 166.8 kB / 7.449 MB, free: 2.004 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.087/1.087, allocations: 221.4 MB / 229.3 MB, free: 3.016 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.0008193/0.0008192, allocations: 104.8 kB / 280.1 MB, free: 1.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3778/0.3778, allocations: 78.1 MB / 409 MB, free: 15.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1232/0.501, allocations: 75.51 MB / 484.5 MB, free: 4.461 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2463/0.7473, allocations: 69.34 MB / 0.5408 GB, free: 21.39 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1034/0.8508, allocations: 100.9 MB / 0.6394 GB, free: 3.953 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00022/0.851, allocations: 87.94 kB / 0.6395 GB, free: 3.867 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.08179/0.9328, allocations: 32.67 MB / 0.6714 GB, free: 2.93 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.052e-05/0.9329, allocations: 11.94 kB / 0.6714 GB, free: 2.918 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003219/0.9361, allocations: 0.6144 MB / 0.672 GB, free: 2.301 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001494/0.9376, allocations: 0.9138 MB / 0.6729 GB, free: 1.332 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002011/0.9378, allocations: 210.5 kB / 0.6731 GB, free: 1.094 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001486/0.938, allocations: 60 kB / 0.6732 GB, free: 1.035 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.1376/1.076, allocations: 1.035 MB / 0.6742 GB, free: 138.2 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001853/1.077, allocations: 1.093 MB / 0.6752 GB, free: 138 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.278e-05/1.077, allocations: 0 / 0.6752 GB, free: 138 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001002/1.078, allocations: 5.094 kB / 0.6753 GB, free: 138 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.891e-05/1.078, allocations: 25.38 kB / 0.6753 GB, free: 138 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005383/1.083, allocations: 4.17 MB / 0.6793 GB, free: 136.9 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001051/1.084, allocations: 0.7489 MB / 0.6801 GB, free: 136.8 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008091/1.085, allocations: 0.6653 MB / 0.6807 GB, free: 136.8 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001146/1.085, allocations: 22.48 kB / 0.6808 GB, free: 136.8 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/1.085, allocations: 41.97 kB / 0.6808 GB, free: 136.8 MB / 490.7 MB Notification: Performance of pre-optimization done (n=116): time 2.114e-06/1.085, allocations: 7.281 kB / 0.6808 GB, free: 136.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=116): time 0.01225/1.097, allocations: 4.629 MB / 0.6853 GB, free: 136.6 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.994e-05/1.097, allocations: 117.9 kB / 0.6854 GB, free: 136.5 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001/1.098, allocations: 0.8396 MB / 0.6863 GB, free: 136.3 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001383/1.099, allocations: 25.7 kB / 0.6863 GB, free: 136.3 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001819/1.099, allocations: 406.4 kB / 0.6867 GB, free: 136.1 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003216/1.099, allocations: 396.9 kB / 0.687 GB, free: 135.9 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.503e-05/1.099, allocations: 0 / 0.687 GB, free: 135.9 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.929e-05/1.099, allocations: 347.4 kB / 0.6874 GB, free: 135.6 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007448/1.1, allocations: 0.5128 MB / 0.6879 GB, free: 135.6 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008033/1.101, allocations: 0.6676 MB / 0.6885 GB, free: 135.5 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008176/1.102, allocations: 0.5768 MB / 0.6891 GB, free: 135.4 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/1.102, allocations: 3.188 kB / 0.6891 GB, free: 135.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.01269/1.114, allocations: 4.84 MB / 0.6938 GB, free: 135 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002215/1.115, allocations: 1.335 MB / 0.6951 GB, free: 133.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/1.115, allocations: 3.969 kB / 0.6951 GB, free: 133.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005419/1.12, allocations: 1.819 MB / 0.6969 GB, free: 133.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008187/1.121, allocations: 184.7 kB / 0.6971 GB, free: 133.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01358/1.134, allocations: 6.8 MB / 0.7037 GB, free: 132 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001842/1.136, allocations: 223.9 kB / 0.7039 GB, free: 131.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001306/1.136, allocations: 39.22 kB / 0.704 GB, free: 131.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.059e-05/1.136, allocations: 8.188 kB / 0.704 GB, free: 131.9 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01329/1.15, allocations: 4.664 MB / 0.7085 GB, free: 131.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/1.15, allocations: 7.438 kB / 0.7085 GB, free: 131.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00553/1.155, allocations: 1.824 MB / 0.7103 GB, free: 131.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007611/1.156, allocations: 168.9 kB / 0.7105 GB, free: 131.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01311/1.169, allocations: 6.804 MB / 0.7171 GB, free: 128.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001433/1.171, allocations: 210.2 kB / 0.7173 GB, free: 128.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001013/1.171, allocations: 36.64 kB / 0.7174 GB, free: 128.8 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.0003199/1.171, allocations: 144.4 kB / 0.7175 GB, free: 128.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002009/1.171, allocations: 143.5 kB / 0.7176 GB, free: 128.6 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01214/1.183, allocations: 4.723 MB / 0.7222 GB, free: 127.6 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.245e-06/1.183, allocations: 12.19 kB / 0.7223 GB, free: 127.6 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.063e-06/1.183, allocations: 0 / 0.7223 GB, free: 127.6 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.115e-05/1.183, allocations: 6.609 kB / 0.7223 GB, free: 127.6 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01368/1.197, allocations: 6.332 MB / 0.7284 GB, free: 125.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/1.197, allocations: 3.312 kB / 0.7285 GB, free: 125.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007612/1.198, allocations: 148 kB / 0.7286 GB, free: 125.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005219/1.203, allocations: 1.79 MB / 0.7303 GB, free: 125.2 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.922e-05/1.203, allocations: 9.422 kB / 0.7304 GB, free: 125.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0125/1.216, allocations: 6.006 MB / 0.7362 GB, free: 122.1 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/1.216, allocations: 6.062 kB / 0.7362 GB, free: 122.1 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01337/1.229, allocations: 5.634 MB / 0.7417 GB, free: 117.9 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01413/1.243, allocations: 6.88 MB / 0.7484 GB, free: 111.9 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003162/1.244, allocations: 228.5 kB / 0.7487 GB, free: 111.7 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002224/1.244, allocations: 11.19 kB / 0.7487 GB, free: 111.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00122/1.245, allocations: 157.3 kB / 0.7488 GB, free: 111.5 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000282/1.245, allocations: 125.4 kB / 0.7489 GB, free: 111.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.183e-05/1.245, allocations: 31.38 kB / 0.749 GB, free: 111.5 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0007039/1.246, allocations: 0.6377 MB / 0.7496 GB, free: 110.9 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002835/1.249, allocations: 0.7184 MB / 0.7503 GB, free: 110.1 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.0002463/1.249, allocations: 141.7 kB / 0.7504 GB, free: 110 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008947/1.258, allocations: 3.863 MB / 0.7542 GB, free: 106.6 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.99e-06/1.258, allocations: 0 / 0.7542 GB, free: 106.6 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003973/1.262, allocations: 1.554 MB / 0.7557 GB, free: 105.2 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008947/1.263, allocations: 122.8 kB / 0.7558 GB, free: 105.1 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004452/1.268, allocations: 1.972 MB / 0.7578 GB, free: 103.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007803/1.268, allocations: 1.304 MB / 0.759 GB, free: 102.2 MB / 490.7 MB Notification: Performance of SimCode: time 6.21e-07/1.268, allocations: 0 / 0.759 GB, free: 102.2 MB / 490.7 MB (rm -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeVI_test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeVI_test.fmu > OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe 2>&1)