Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.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.Test15,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test15,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test15",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.0015/0.001501, allocations: 190.3 kB / 7.8 MB, free: 2.449 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.123/1.123, 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.0008714/0.0008713, allocations: 106.4 kB / 261.4 MB, free: 13.55 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.1646/0.1646, allocations: 43.5 MB / 352.8 MB, free: 1.969 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1606/0.3252, allocations: 64.97 MB / 417.8 MB, free: 40.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2396/0.5648, allocations: 58.84 MB / 476.7 MB, free: 5.188 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.116/0.6809, allocations: 86.85 MB / 0.5503 GB, free: 12.05 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002178/0.6812, allocations: 79.89 kB / 0.5504 GB, free: 11.98 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0152/0.6964, allocations: 5.246 MB / 0.5555 GB, free: 6.688 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.6964, allocations: 8 kB / 0.5555 GB, free: 6.68 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.631e-05/0.6965, allocations: 7.906 kB / 0.5555 GB, free: 6.672 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003008/0.6968, allocations: 210.8 kB / 0.5557 GB, free: 6.426 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.6968, allocations: 0 / 0.5557 GB, free: 6.426 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.144e-05/0.6968, allocations: 4 kB / 0.5557 GB, free: 6.422 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.888e-05/0.6969, allocations: 23.98 kB / 0.5557 GB, free: 6.398 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.444e-05/0.697, allocations: 49.69 kB / 0.5558 GB, free: 6.344 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.697, allocations: 0 / 0.5558 GB, free: 6.344 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.928e-06/0.697, allocations: 0 / 0.5558 GB, free: 6.344 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.697, allocations: 0 / 0.5558 GB, free: 6.344 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003353/0.6974, allocations: 273.3 kB / 0.5561 GB, free: 6.039 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.929e-05/0.6975, allocations: 50.7 kB / 0.5561 GB, free: 5.98 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.427e-05/0.6975, allocations: 20.97 kB / 0.5561 GB, free: 5.957 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.26e-05/0.6976, allocations: 0 / 0.5561 GB, free: 5.957 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.865e-05/0.6977, allocations: 63.31 kB / 0.5562 GB, free: 5.883 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 2.274e-06/0.6977, allocations: 3.938 kB / 0.5562 GB, free: 5.879 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003828/0.6981, allocations: 125.3 kB / 0.5563 GB, free: 5.75 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.717e-05/0.6981, allocations: 51.41 kB / 0.5564 GB, free: 5.688 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001411/0.6982, allocations: 162.7 kB / 0.5565 GB, free: 5.523 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.6983, allocations: 29.7 kB / 0.5565 GB, free: 5.488 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.836e-05/0.6983, allocations: 88.12 kB / 0.5566 GB, free: 5.398 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.868e-05/0.6983, allocations: 23.66 kB / 0.5566 GB, free: 5.375 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.529e-06/0.6984, allocations: 0 / 0.5566 GB, free: 5.375 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.6985, allocations: 322.8 kB / 0.557 GB, free: 5.051 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.771e-05/0.6985, allocations: 20 kB / 0.557 GB, free: 5.031 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.785e-05/0.6986, allocations: 41.64 kB / 0.557 GB, free: 4.984 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.533e-05/0.6986, allocations: 20.06 kB / 0.557 GB, free: 4.965 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.6986, allocations: 0 / 0.557 GB, free: 4.965 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001489/0.6988, allocations: 93.56 kB / 0.5571 GB, free: 4.867 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.6988, allocations: 11.91 kB / 0.5571 GB, free: 4.855 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.6988, allocations: 0 / 0.5571 GB, free: 4.855 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.6988, allocations: 0 / 0.5571 GB, free: 4.855 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.718e-05/0.6989, allocations: 19.92 kB / 0.5571 GB, free: 4.836 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.6989, allocations: 4 kB / 0.5572 GB, free: 4.832 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.978e-05/0.699, allocations: 4.031 kB / 0.5572 GB, free: 4.828 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.699, allocations: 4.188 kB / 0.5572 GB, free: 4.824 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 (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 7.361e-05/0.6991, allocations: 102.4 kB / 0.5573 GB, free: 4.719 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.517e-05/0.6991, allocations: 19.75 kB / 0.5573 GB, free: 4.699 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001864/0.6993, allocations: 106.1 kB / 0.5574 GB, free: 4.59 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.584e-06/0.6993, allocations: 4 kB / 0.5574 GB, free: 4.586 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.6993, allocations: 192 / 0.5574 GB, free: 4.586 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/0.6994, allocations: 4 kB / 0.5574 GB, free: 4.582 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003522/0.6997, allocations: 367.8 kB / 0.5577 GB, free: 4.176 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.6997, allocations: 0 / 0.5577 GB, free: 4.176 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.556e-05/0.6998, allocations: 11.98 kB / 0.5577 GB, free: 4.164 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.6998, allocations: 0 / 0.5577 GB, free: 4.164 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.6998, allocations: 4 kB / 0.5578 GB, free: 4.16 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.6998, allocations: 0 / 0.5578 GB, free: 4.16 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.6998, allocations: 0 / 0.5578 GB, free: 4.16 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001791/0.7, allocations: 213.9 kB / 0.558 GB, free: 3.926 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003129/0.7003, allocations: 0.5686 MB / 0.5585 GB, free: 3.328 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.988e-05/0.7004, allocations: 100.9 kB / 0.5586 GB, free: 3.211 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.022e-05/0.7004, allocations: 3.984 kB / 0.5586 GB, free: 3.207 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.305e-05/0.7005, allocations: 4 kB / 0.5586 GB, free: 3.203 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.476e-05/0.7006, allocations: 4 kB / 0.5586 GB, free: 3.199 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.7006, allocations: 3.984 kB / 0.5586 GB, free: 3.195 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001028/0.7007, allocations: 135.9 kB / 0.5588 GB, free: 3.062 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008317/0.7015, allocations: 35.84 kB / 0.5588 GB, free: 3.027 MB / 394.7 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.0006881/0.7022, allocations: 350.4 kB / 0.5591 GB, free: 2.719 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000126/0.7024, allocations: 52 kB / 0.5592 GB, free: 2.668 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.7024, allocations: 0 / 0.5592 GB, free: 2.668 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.377e-05/0.7024, allocations: 27.94 kB / 0.5592 GB, free: 2.641 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002676/0.7027, allocations: 24.09 kB / 0.5592 GB, free: 2.617 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000353/0.7031, allocations: 148.6 kB / 0.5594 GB, free: 2.438 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002884/0.7034, allocations: 0.727 MB / 0.5601 GB, free: 1.684 MB / 394.7 MB Notification: Performance of SimCode: time 1.854e-06/0.7034, allocations: 0 / 0.5601 GB, free: 1.684 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test15_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test15.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1)