Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeI_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test,fileNamePrefix="OpenIPSL_2_0_0_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 3.2.3+maint.om/package.mo): time 0.002699/0.002699, allocations: 181.4 kB / 7.459 MB, free: 2.496 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.274/1.274, allocations: 205.2 MB / 213.1 MB, free: 13.93 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00088/0.0008802, allocations: 94.28 kB / 261.1 MB, free: 13.62 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07591/0.07591, allocations: 12.18 MB / 321.2 MB, free: 1.367 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2836/0.2836, allocations: 78.05 MB / 449.9 MB, free: 3.664 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2668/0.5504, allocations: 76.1 MB / 0.5137 GB, free: 30.34 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.6701, allocations: 69.22 MB / 0.5813 GB, free: 9.207 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3707/1.041, allocations: 97.81 MB / 0.6768 GB, free: 9.691 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000221/1.041, allocations: 81.05 kB / 0.6769 GB, free: 9.68 MB / 426.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.07043/1.112, allocations: 24.97 MB / 0.7013 GB, free: 6.461 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/1.112, allocations: 11.94 kB / 0.7013 GB, free: 6.449 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00394/1.116, allocations: 0.5685 MB / 0.7018 GB, free: 5.93 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001935/1.118, allocations: 0.6968 MB / 0.7025 GB, free: 5.332 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003542/1.118, allocations: 246.8 kB / 0.7027 GB, free: 5.055 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002929/1.118, allocations: 43.91 kB / 0.7028 GB, free: 5.012 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001816/1.12, allocations: 0.8042 MB / 0.7036 GB, free: 4.523 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001789/1.122, allocations: 0.8085 MB / 0.7044 GB, free: 3.969 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.475e-05/1.122, allocations: 4 kB / 0.7044 GB, free: 3.965 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.076e-05/1.122, allocations: 0 / 0.7044 GB, free: 3.965 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.488e-05/1.122, allocations: 16 kB / 0.7044 GB, free: 3.949 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006331/1.128, allocations: 2.985 MB / 0.7073 GB, free: 1.605 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000913/1.129, allocations: 0.5598 MB / 0.7078 GB, free: 1.301 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008442/1.13, allocations: 0.5504 MB / 0.7084 GB, free: 1.012 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001287/1.13, allocations: 19.89 kB / 0.7084 GB, free: 0.9961 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.895e-05/1.13, allocations: 54.08 kB / 0.7084 GB, free: 0.9414 MB / 442.7 MB Notification: Performance of pre-optimization done (n=92): time 3.206e-06/1.13, allocations: 0 / 0.7084 GB, free: 0.9414 MB / 442.7 MB Notification: Performance of matching and sorting (n=92): time 0.01866/1.149, allocations: 4.415 MB / 0.7128 GB, free: 13.06 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.161e-05/1.149, allocations: 64.19 kB / 0.7128 GB, free: 12.99 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002145/1.151, allocations: 0.6438 MB / 0.7134 GB, free: 12.5 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003442/1.152, allocations: 29.7 kB / 0.7135 GB, free: 12.46 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003659/1.152, allocations: 291.3 kB / 0.7138 GB, free: 12.21 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009054/1.153, allocations: 319.7 kB / 0.7141 GB, free: 11.93 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002372/1.153, allocations: 0 / 0.7141 GB, free: 11.93 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002981/1.154, allocations: 339.8 kB / 0.7144 GB, free: 11.61 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001413/1.155, allocations: 436 kB / 0.7148 GB, free: 11.39 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001626/1.157, allocations: 0.5259 MB / 0.7153 GB, free: 11.05 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001604/1.158, allocations: 474 kB / 0.7158 GB, free: 10.8 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.045e-05/1.158, allocations: 0 / 0.7158 GB, free: 10.8 MB / 458.7 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.0157/1.174, allocations: 4.554 MB / 0.7202 GB, free: 6.809 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/1.174, allocations: 4 kB / 0.7202 GB, free: 6.805 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.203e-05/1.174, allocations: 4 kB / 0.7202 GB, free: 6.801 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006513/1.181, allocations: 1.817 MB / 0.722 GB, free: 5.219 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009455/1.182, allocations: 114.8 kB / 0.7221 GB, free: 5.109 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01684/1.199, allocations: 6.807 MB / 0.7288 GB, free: 96 kB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001748/1.2, allocations: 175.2 kB / 0.7289 GB, free: 15.92 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001175/1.201, allocations: 27.94 kB / 0.7289 GB, free: 15.9 MB / 474.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.0002946/1.201, allocations: 116.3 kB / 0.7291 GB, free: 15.78 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003584/1.201, allocations: 118.6 kB / 0.7292 GB, free: 15.66 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01407/1.215, allocations: 4.492 MB / 0.7336 GB, free: 11.75 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.178e-05/1.215, allocations: 8 kB / 0.7336 GB, free: 11.75 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/1.215, allocations: 0 / 0.7336 GB, free: 11.75 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.099e-05/1.215, allocations: 3.984 kB / 0.7336 GB, free: 11.74 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0172/1.233, allocations: 5.84 MB / 0.7393 GB, free: 5.949 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.701e-05/1.233, allocations: 8 kB / 0.7393 GB, free: 5.941 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008702/1.234, allocations: 91.84 kB / 0.7394 GB, free: 5.852 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006296/1.24, allocations: 1.785 MB / 0.7411 GB, free: 4.062 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00031/1.24, allocations: 7.984 kB / 0.7411 GB, free: 4.055 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01443/1.255, allocations: 6.004 MB / 0.747 GB, free: 13.93 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/1.255, allocations: 0 / 0.747 GB, free: 13.93 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01524/1.27, allocations: 5.28 MB / 0.7521 GB, free: 8.613 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01684/1.287, allocations: 6.383 MB / 0.7584 GB, free: 2.211 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005555/1.287, allocations: 199.6 kB / 0.7586 GB, free: 1.996 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001911/1.288, allocations: 4 kB / 0.7586 GB, free: 1.992 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001121/1.289, allocations: 131.9 kB / 0.7587 GB, free: 1.863 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003197/1.289, allocations: 116.6 kB / 0.7588 GB, free: 1.75 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.758e-05/1.289, allocations: 24 kB / 0.7588 GB, free: 1.727 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0007001/1.29, allocations: 0.4923 MB / 0.7593 GB, free: 1.223 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001742/1.292, allocations: 391.5 kB / 0.7597 GB, free: 0.8398 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.0003273/1.292, allocations: 127.1 kB / 0.7598 GB, free: 0.707 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005432/1.297, allocations: 1.969 MB / 0.7617 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/1.297, allocations: 0 / 0.7617 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004254/1.302, allocations: 1.444 MB / 0.7631 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006652/1.302, allocations: 67.33 kB / 0.7632 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003866/1.306, allocations: 1.504 MB / 0.7647 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009814/1.307, allocations: 1.126 MB / 0.7658 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of SimCode: time 5.41e-07/1.307, allocations: 0 / 0.7658 GB, free: 10.51 MB / 0.4948 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeI_test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeI_test.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe 2>&1)