Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.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/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/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(ModelicaTest.Tables.CombiTimeTable.Test85,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test85",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test85,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test85",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.001104/0.001104, allocations: 187.7 kB / 7.803 MB, free: 2.488 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.189/1.189, allocations: 205.2 MB / 213.4 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.0009658/0.000966, allocations: 95.17 kB / 261.4 MB, free: 13.5 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1887/0.1887, allocations: 43.49 MB / 352.8 MB, free: 1.895 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1988/0.3876, allocations: 64.98 MB / 417.8 MB, free: 40.47 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2771/0.6646, allocations: 58.84 MB / 476.7 MB, free: 5.305 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.123/0.7877, allocations: 86.68 MB / 0.5501 GB, free: 12.34 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002172/0.788, allocations: 71.95 kB / 0.5502 GB, free: 12.27 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.01566/0.8037, allocations: 5.108 MB / 0.5552 GB, free: 7.117 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.699e-05/0.8038, allocations: 12 kB / 0.5552 GB, free: 7.105 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.259e-05/0.8038, allocations: 7.906 kB / 0.5552 GB, free: 7.098 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004213/0.8043, allocations: 210.6 kB / 0.5554 GB, free: 6.852 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/0.8043, allocations: 0 / 0.5554 GB, free: 6.852 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.376e-05/0.8043, allocations: 8 kB / 0.5554 GB, free: 6.844 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.039e-05/0.8044, allocations: 11.94 kB / 0.5554 GB, free: 6.832 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001389/0.8046, allocations: 49.67 kB / 0.5555 GB, free: 6.777 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/0.8046, allocations: 0 / 0.5555 GB, free: 6.777 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.499e-05/0.8047, allocations: 0 / 0.5555 GB, free: 6.777 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.8047, allocations: 0 / 0.5555 GB, free: 6.777 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002562/0.8049, allocations: 170.1 kB / 0.5556 GB, free: 6.574 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001349/0.8051, allocations: 46.62 kB / 0.5557 GB, free: 6.52 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.953e-05/0.8052, allocations: 16.86 kB / 0.5557 GB, free: 6.5 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.923e-05/0.8052, allocations: 0 / 0.5557 GB, free: 6.5 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001557/0.8054, allocations: 63.44 kB / 0.5558 GB, free: 6.426 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 2.054e-06/0.8054, allocations: 4 kB / 0.5558 GB, free: 6.422 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002533/0.8056, allocations: 69.56 kB / 0.5558 GB, free: 6.348 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.741e-05/0.8057, allocations: 51.41 kB / 0.5559 GB, free: 6.285 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001965/0.8059, allocations: 153.4 kB / 0.556 GB, free: 6.129 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.209e-05/0.8059, allocations: 29.7 kB / 0.5561 GB, free: 6.094 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.413e-05/0.806, allocations: 88.08 kB / 0.5561 GB, free: 6.004 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.891e-05/0.806, allocations: 19.8 kB / 0.5562 GB, free: 5.984 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.699e-06/0.8061, allocations: 0 / 0.5562 GB, free: 5.984 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.8062, allocations: 326.8 kB / 0.5565 GB, free: 5.656 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.985e-05/0.8062, allocations: 12 kB / 0.5565 GB, free: 5.645 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.104e-05/0.8063, allocations: 21.72 kB / 0.5565 GB, free: 5.617 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.13e-05/0.8064, allocations: 19.92 kB / 0.5565 GB, free: 5.598 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.8064, allocations: 0 / 0.5565 GB, free: 5.598 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001775/0.8066, allocations: 77.5 kB / 0.5566 GB, free: 5.516 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.8066, allocations: 4 kB / 0.5566 GB, free: 5.512 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.8066, allocations: 0 / 0.5566 GB, free: 5.512 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.8066, allocations: 4.031 kB / 0.5566 GB, free: 5.508 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.8067, allocations: 8 kB / 0.5566 GB, free: 5.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.8068, allocations: 7.938 kB / 0.5566 GB, free: 5.492 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.216e-05/0.8068, allocations: 3.984 kB / 0.5566 GB, free: 5.488 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.8069, allocations: 4 kB / 0.5566 GB, free: 5.484 MB / 394.7 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 (7): * Single equations (assignments): 7 * 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.857e-05/0.807, allocations: 113.7 kB / 0.5567 GB, free: 5.371 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.685e-05/0.807, allocations: 7.906 kB / 0.5567 GB, free: 5.363 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002119/0.8072, allocations: 73.86 kB / 0.5568 GB, free: 5.285 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.8072, allocations: 7.938 kB / 0.5568 GB, free: 5.277 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/0.8073, allocations: 4 kB / 0.5568 GB, free: 5.273 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-06/0.8073, allocations: 0 / 0.5568 GB, free: 5.273 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002082/0.8075, allocations: 170 kB / 0.557 GB, free: 5.07 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.8075, allocations: 0 / 0.557 GB, free: 5.07 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.251e-05/0.8076, allocations: 7.938 kB / 0.557 GB, free: 5.062 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/0.8076, allocations: 4.188 kB / 0.557 GB, free: 5.059 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.8076, allocations: 4 kB / 0.557 GB, free: 5.055 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.8076, allocations: 0 / 0.557 GB, free: 5.055 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.8076, allocations: 0 / 0.557 GB, free: 5.055 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001861/0.8078, allocations: 104.9 kB / 0.5571 GB, free: 4.934 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000314/0.8081, allocations: 477.3 kB / 0.5576 GB, free: 4.445 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.366e-05/0.8082, allocations: 89 kB / 0.5576 GB, free: 4.34 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.666e-05/0.8083, allocations: 8 kB / 0.5577 GB, free: 4.332 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.237e-05/0.8083, allocations: 0 / 0.5577 GB, free: 4.332 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.928e-05/0.8084, allocations: 15.92 kB / 0.5577 GB, free: 4.316 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.113e-05/0.8084, allocations: 0 / 0.5577 GB, free: 4.316 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001399/0.8086, allocations: 128 kB / 0.5578 GB, free: 4.191 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001289/0.8099, allocations: 31.89 kB / 0.5578 GB, free: 4.16 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0009333/0.8108, allocations: 314.6 kB / 0.5581 GB, free: 3.883 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000145/0.811, allocations: 39.94 kB / 0.5582 GB, free: 3.844 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.811, allocations: 4.062 kB / 0.5582 GB, free: 3.84 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.994e-05/0.811, allocations: 19.98 kB / 0.5582 GB, free: 3.82 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003258/0.8114, allocations: 20.59 kB / 0.5582 GB, free: 3.801 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004542/0.8119, allocations: 123.5 kB / 0.5583 GB, free: 3.652 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003908/0.8123, allocations: 0.7153 MB / 0.559 GB, free: 2.91 MB / 394.7 MB Notification: Performance of SimCode: time 3.9e-07/0.8123, allocations: 0 / 0.559 GB, free: 2.91 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test85_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test85.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1)