Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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.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.TGTypeI_test,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeI_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test,fileNamePrefix="OpenIPSL_release_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.00192/0.00192, allocations: 180.3 kB / 7.458 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.064/1.064, allocations: 221.4 MB / 229.3 MB, free: 3.113 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.001017/0.001017, allocations: 89.33 kB / 280.1 MB, free: 1.316 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3713/0.3713, allocations: 78.11 MB / 409 MB, free: 15.65 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1235/0.4948, allocations: 75.48 MB / 484.5 MB, free: 4.453 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2372/0.7321, allocations: 69.35 MB / 0.5409 GB, free: 21.45 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09706/0.8292, allocations: 96.31 MB / 0.6349 GB, free: 8.594 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002146/0.8294, allocations: 83.94 kB / 0.635 GB, free: 8.512 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.0635/0.893, allocations: 25.76 MB / 0.6601 GB, free: 14.51 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.893, allocations: 12 kB / 0.6601 GB, free: 14.5 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00311/0.8961, allocations: 0.5643 MB / 0.6607 GB, free: 13.93 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001133/0.8973, allocations: 0.703 MB / 0.6614 GB, free: 13.19 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000229/0.8975, allocations: 240.1 kB / 0.6616 GB, free: 12.92 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001166/0.8976, allocations: 47.97 kB / 0.6617 GB, free: 12.87 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001343/0.899, allocations: 0.7968 MB / 0.6624 GB, free: 12.07 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001313/0.9003, allocations: 0.8056 MB / 0.6632 GB, free: 11.26 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/0.9003, allocations: 3.906 kB / 0.6632 GB, free: 11.25 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.803e-05/0.9004, allocations: 0 / 0.6632 GB, free: 11.25 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.53e-05/0.9004, allocations: 27.94 kB / 0.6633 GB, free: 11.23 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00458/0.905, allocations: 2.98 MB / 0.6662 GB, free: 8.129 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007897/0.9058, allocations: 0.5541 MB / 0.6667 GB, free: 7.562 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007681/0.9066, allocations: 0.5585 MB / 0.6673 GB, free: 7 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001001/0.9067, allocations: 12.77 kB / 0.6673 GB, free: 6.988 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.156e-05/0.9067, allocations: 39.34 kB / 0.6673 GB, free: 6.941 MB / 490.7 MB Notification: Performance of pre-optimization done (n=92): time 1.794e-06/0.9067, allocations: 0 / 0.6673 GB, free: 6.941 MB / 490.7 MB Notification: Performance of matching and sorting (n=92): time 0.01251/0.9193, allocations: 4.421 MB / 0.6716 GB, free: 2.504 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.938e-05/0.9193, allocations: 68.19 kB / 0.6717 GB, free: 2.422 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007116/0.92, allocations: 0.6471 MB / 0.6723 GB, free: 1.754 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.675e-05/0.9201, allocations: 25.7 kB / 0.6723 GB, free: 1.723 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001627/0.9203, allocations: 300.4 kB / 0.6726 GB, free: 1.422 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003042/0.9206, allocations: 315.2 kB / 0.6729 GB, free: 1.109 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.116e-05/0.9206, allocations: 3.938 kB / 0.6729 GB, free: 1.105 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.909e-05/0.9207, allocations: 338 kB / 0.6733 GB, free: 0.7695 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006828/0.9214, allocations: 438 kB / 0.6737 GB, free: 352 kB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1977/1.119, allocations: 0.5184 MB / 0.6742 GB, free: 47.66 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007356/1.12, allocations: 472.1 kB / 0.6746 GB, free: 47.66 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/1.12, allocations: 0 / 0.6746 GB, free: 47.66 MB / 490.7 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.01202/1.132, allocations: 4.553 MB / 0.6791 GB, free: 47.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/1.132, allocations: 11.78 kB / 0.6791 GB, free: 47.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.417e-06/1.132, allocations: 2.953 kB / 0.6791 GB, free: 47.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005259/1.137, allocations: 1.815 MB / 0.6809 GB, free: 47.52 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000592/1.138, allocations: 123.9 kB / 0.681 GB, free: 47.52 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.013/1.151, allocations: 6.791 MB / 0.6876 GB, free: 46.02 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001207/1.152, allocations: 182.6 kB / 0.6878 GB, free: 45.99 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-05/1.152, allocations: 28.89 kB / 0.6878 GB, free: 45.99 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.0001795/1.152, allocations: 114.6 kB / 0.6879 GB, free: 45.88 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001691/1.153, allocations: 112.2 kB / 0.688 GB, free: 45.82 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01152/1.164, allocations: 4.497 MB / 0.6924 GB, free: 45.45 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.057e-05/1.164, allocations: 7.75 kB / 0.6924 GB, free: 45.45 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.484e-06/1.164, allocations: 0 / 0.6924 GB, free: 45.45 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.405e-05/1.164, allocations: 3.797 kB / 0.6924 GB, free: 45.45 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01285/1.177, allocations: 5.855 MB / 0.6981 GB, free: 44.64 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/1.177, allocations: 0 / 0.6981 GB, free: 44.64 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005286/1.178, allocations: 93.7 kB / 0.6982 GB, free: 44.64 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004716/1.182, allocations: 1.789 MB / 0.7 GB, free: 44.51 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.58e-05/1.182, allocations: 3.844 kB / 0.7 GB, free: 44.51 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01134/1.194, allocations: 5.995 MB / 0.7058 GB, free: 43.04 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/1.194, allocations: 0 / 0.7058 GB, free: 43.04 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01257/1.206, allocations: 5.271 MB / 0.711 GB, free: 42.53 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01518/1.222, allocations: 6.392 MB / 0.7172 GB, free: 41.62 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003877/1.222, allocations: 196.1 kB / 0.7174 GB, free: 41.46 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002156/1.222, allocations: 0 / 0.7174 GB, free: 41.46 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001217/1.223, allocations: 131 kB / 0.7175 GB, free: 41.45 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003274/1.224, allocations: 114 kB / 0.7177 GB, free: 41.45 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.429e-05/1.224, allocations: 22.53 kB / 0.7177 GB, free: 41.45 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0006213/1.225, allocations: 0.5008 MB / 0.7182 GB, free: 41.34 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0018/1.226, allocations: 391.7 kB / 0.7185 GB, free: 41.33 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.0002593/1.227, allocations: 125.5 kB / 0.7187 GB, free: 41.24 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00491/1.232, allocations: 1.97 MB / 0.7206 GB, free: 41.04 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/1.232, allocations: 0 / 0.7206 GB, free: 41.04 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003563/1.235, allocations: 1.449 MB / 0.722 GB, free: 40.82 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004983/1.236, allocations: 59.17 kB / 0.7221 GB, free: 40.82 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003072/1.239, allocations: 1.51 MB / 0.7235 GB, free: 40.25 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005779/1.239, allocations: 1.128 MB / 0.7246 GB, free: 39.52 MB / 490.7 MB Notification: Performance of SimCode: time 4.7e-07/1.239, allocations: 0 / 0.7246 GB, free: 39.52 MB / 490.7 MB (rm -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeI_test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeI_test.fmu > OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe 2>&1)