Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/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(ModelicaTest.Tables.CombiTimeTable.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test22",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.001396/0.001395, allocations: 187.8 kB / 8.52 MB, free: 484 kB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.24/1.24, allocations: 221.4 MB / 230.3 MB, free: 13.65 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009609/0.0009608, allocations: 100.9 kB / 281.2 MB, free: 10.53 MB / 226.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1832/0.1832, allocations: 44.14 MB / 376.1 MB, free: 11.68 MB / 322.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2333/0.4166, allocations: 68.04 MB / 444.1 MB, free: 54.29 MB / 322.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.526, allocations: 61.9 MB / 0.4942 GB, free: 8.316 MB / 338.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.355/0.881, allocations: 88.48 MB / 0.5806 GB, free: 10.31 MB / 402.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002463/0.8813, allocations: 75.97 kB / 0.5807 GB, free: 10.23 MB / 402.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.01666/0.898, allocations: 5.567 MB / 0.5861 GB, free: 4.629 MB / 402.8 MB Notification: Performance of prepare preOptimizeDAE: time 8.019e-05/0.8981, allocations: 15.94 kB / 0.5861 GB, free: 4.613 MB / 402.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.954e-05/0.8981, allocations: 15.83 kB / 0.5861 GB, free: 4.598 MB / 402.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003558/0.8985, allocations: 215.5 kB / 0.5863 GB, free: 4.348 MB / 402.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.899e-05/0.8985, allocations: 0 / 0.5863 GB, free: 4.348 MB / 402.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.938e-05/0.8986, allocations: 7.984 kB / 0.5863 GB, free: 4.34 MB / 402.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.181e-05/0.8987, allocations: 20 kB / 0.5864 GB, free: 4.32 MB / 402.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001096/0.8988, allocations: 53.61 kB / 0.5864 GB, free: 4.262 MB / 402.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.8988, allocations: 0 / 0.5864 GB, free: 4.262 MB / 402.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.746e-05/0.8988, allocations: 7.906 kB / 0.5864 GB, free: 4.254 MB / 402.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.8988, allocations: 0 / 0.5864 GB, free: 4.254 MB / 402.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004034/0.8992, allocations: 265.5 kB / 0.5867 GB, free: 3.957 MB / 402.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001187/0.8994, allocations: 50.69 kB / 0.5867 GB, free: 3.898 MB / 402.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.462e-05/0.8994, allocations: 20.89 kB / 0.5867 GB, free: 3.875 MB / 402.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.917e-05/0.8994, allocations: 4 kB / 0.5867 GB, free: 3.871 MB / 402.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001209/0.8996, allocations: 63.33 kB / 0.5868 GB, free: 3.797 MB / 402.8 MB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.8996, allocations: 0 / 0.5868 GB, free: 3.797 MB / 402.8 MB Notification: Performance of matching and sorting (n=8): time 0.0005561/0.9001, allocations: 137.2 kB / 0.5869 GB, free: 3.656 MB / 402.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.388e-05/0.9002, allocations: 55.41 kB / 0.587 GB, free: 3.59 MB / 402.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002373/0.9005, allocations: 161.4 kB / 0.5871 GB, free: 3.426 MB / 402.8 MB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.9005, allocations: 25.7 kB / 0.5872 GB, free: 3.395 MB / 402.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.815e-05/0.9006, allocations: 92.12 kB / 0.5873 GB, free: 3.301 MB / 402.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.826e-05/0.9006, allocations: 19.72 kB / 0.5873 GB, free: 3.281 MB / 402.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.799e-06/0.9006, allocations: 3.938 kB / 0.5873 GB, free: 3.277 MB / 402.8 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.9008, allocations: 322.8 kB / 0.5876 GB, free: 2.953 MB / 402.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.84e-05/0.9008, allocations: 20 kB / 0.5876 GB, free: 2.934 MB / 402.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.416e-05/0.9009, allocations: 33.7 kB / 0.5876 GB, free: 2.895 MB / 402.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.573e-05/0.9009, allocations: 27.98 kB / 0.5877 GB, free: 2.867 MB / 402.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.901, allocations: 0 / 0.5877 GB, free: 2.867 MB / 402.8 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001538/0.9011, allocations: 93.5 kB / 0.5878 GB, free: 2.77 MB / 402.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.9011, allocations: 8 kB / 0.5878 GB, free: 2.762 MB / 402.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.9011, allocations: 0 / 0.5878 GB, free: 2.762 MB / 402.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.9012, allocations: 0 / 0.5878 GB, free: 2.762 MB / 402.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.9013, allocations: 16.17 kB / 0.5878 GB, free: 2.746 MB / 402.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-06/0.9013, allocations: 4 kB / 0.5878 GB, free: 2.742 MB / 402.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.292e-05/0.9014, allocations: 15.91 kB / 0.5878 GB, free: 2.727 MB / 402.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.268e-05/0.9014, allocations: 8 kB / 0.5878 GB, free: 2.719 MB / 402.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.303e-05/0.9015, allocations: 108.9 kB / 0.5879 GB, free: 2.605 MB / 402.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.199e-05/0.9015, allocations: 11.91 kB / 0.5879 GB, free: 2.594 MB / 402.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002225/0.9017, allocations: 106 kB / 0.588 GB, free: 2.484 MB / 402.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.9017, allocations: 0 / 0.588 GB, free: 2.484 MB / 402.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.84e-06/0.9018, allocations: 0 / 0.588 GB, free: 2.484 MB / 402.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.9018, allocations: 288 / 0.588 GB, free: 2.484 MB / 402.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000439/0.9022, allocations: 371.8 kB / 0.5884 GB, free: 2.074 MB / 402.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.9022, allocations: 3.984 kB / 0.5884 GB, free: 2.07 MB / 402.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.437e-05/0.9023, allocations: 15.94 kB / 0.5884 GB, free: 2.055 MB / 402.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.9023, allocations: 0 / 0.5884 GB, free: 2.055 MB / 402.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.9023, allocations: 0 / 0.5884 GB, free: 2.055 MB / 402.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.9023, allocations: 4 kB / 0.5884 GB, free: 2.051 MB / 402.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.9023, allocations: 3.938 kB / 0.5884 GB, free: 2.047 MB / 402.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001921/0.9025, allocations: 202.1 kB / 0.5886 GB, free: 1.824 MB / 402.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00035/0.9029, allocations: 0.5803 MB / 0.5892 GB, free: 1.215 MB / 402.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.172e-05/0.9029, allocations: 96.91 kB / 0.5893 GB, free: 1.102 MB / 402.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.881e-05/0.903, allocations: 4 kB / 0.5893 GB, free: 1.098 MB / 402.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.344e-05/0.9031, allocations: 4 kB / 0.5893 GB, free: 1.094 MB / 402.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.973e-05/0.9031, allocations: 7.984 kB / 0.5893 GB, free: 1.086 MB / 402.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.829e-06/0.9031, allocations: 4 kB / 0.5893 GB, free: 1.082 MB / 402.8 MB Notification: Performance of sort global known variables: time 0.0001275/0.9033, allocations: 137 kB / 0.5894 GB, free: 0.9492 MB / 402.8 MB Notification: Performance of remove unused functions: time 0.0009001/0.9042, allocations: 28 kB / 0.5894 GB, free: 0.9219 MB / 402.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007971/0.905, allocations: 354.6 kB / 0.5898 GB, free: 0.668 MB / 402.8 MB Notification: Performance of simCode: created initialization part: time 0.0001339/0.9051, allocations: 55.92 kB / 0.5898 GB, free: 0.6133 MB / 402.8 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.9051, allocations: 0 / 0.5898 GB, free: 0.6133 MB / 402.8 MB Notification: Performance of simCode: created simulation system equations: time 5.368e-05/0.9052, allocations: 31.98 kB / 0.5899 GB, free: 0.582 MB / 402.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002993/0.9055, allocations: 28.02 kB / 0.5899 GB, free: 0.5547 MB / 402.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000444/0.9059, allocations: 168.4 kB / 0.59 GB, free: 364 kB / 402.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000435/0.9064, allocations: 0.7192 MB / 0.5907 GB, free: 15.61 MB / 418.8 MB Notification: Performance of SimCode: time 3.2e-07/0.9064, allocations: 0 / 0.5907 GB, free: 15.61 MB / 418.8 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test22_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test22.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1)