Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.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.Test61,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test61",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test61,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test61",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.001317/0.001317, allocations: 191 kB / 7.803 MB, free: 2.445 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.198/1.198, allocations: 205.2 MB / 213.4 MB, free: 13.85 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.001198/0.001198, allocations: 94.77 kB / 261.4 MB, free: 13.6 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.1805/0.1805, allocations: 43.48 MB / 352.8 MB, free: 2.012 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1951/0.3757, allocations: 64.98 MB / 417.8 MB, free: 40.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2743/0.65, allocations: 58.84 MB / 476.7 MB, free: 5.293 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1111/0.7611, allocations: 86.72 MB / 0.5502 GB, free: 12.29 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002057/0.7614, allocations: 71.47 kB / 0.5502 GB, free: 12.22 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.01508/0.7765, allocations: 5.539 MB / 0.5557 GB, free: 6.637 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.7765, allocations: 8 kB / 0.5557 GB, free: 6.629 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.402e-05/0.7766, allocations: 15.81 kB / 0.5557 GB, free: 6.613 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003144/0.7769, allocations: 218.7 kB / 0.5559 GB, free: 6.359 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.7769, allocations: 0 / 0.5559 GB, free: 6.359 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.251e-05/0.777, allocations: 7.984 kB / 0.5559 GB, free: 6.352 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.585e-05/0.777, allocations: 12 kB / 0.5559 GB, free: 6.34 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.06e-05/0.7771, allocations: 49.58 kB / 0.556 GB, free: 6.285 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.222e-06/0.7771, allocations: 0 / 0.556 GB, free: 6.285 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.7772, allocations: 4 kB / 0.556 GB, free: 6.281 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.7772, allocations: 4 kB / 0.556 GB, free: 6.277 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001859/0.7774, allocations: 170.2 kB / 0.5561 GB, free: 6.074 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.055e-05/0.7775, allocations: 42.62 kB / 0.5562 GB, free: 6.023 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.509e-05/0.7775, allocations: 16.86 kB / 0.5562 GB, free: 6.004 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.096e-05/0.7775, allocations: 4 kB / 0.5562 GB, free: 6 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.431e-05/0.7776, allocations: 71.38 kB / 0.5563 GB, free: 5.918 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.322e-06/0.7776, allocations: 0 / 0.5563 GB, free: 5.918 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001831/0.7778, allocations: 69.53 kB / 0.5563 GB, free: 5.844 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.027e-05/0.7779, allocations: 55.41 kB / 0.5564 GB, free: 5.777 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002708/0.7781, allocations: 233.6 kB / 0.5566 GB, free: 5.539 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.7782, allocations: 25.7 kB / 0.5566 GB, free: 5.508 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.446e-05/0.7782, allocations: 92.12 kB / 0.5567 GB, free: 5.414 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.309e-05/0.7782, allocations: 15.89 kB / 0.5567 GB, free: 5.398 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.117e-06/0.7783, allocations: 0 / 0.5567 GB, free: 5.398 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.7784, allocations: 326.8 kB / 0.557 GB, free: 5.07 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.88e-05/0.7784, allocations: 15.94 kB / 0.557 GB, free: 5.055 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.426e-05/0.7785, allocations: 21.72 kB / 0.5571 GB, free: 5.027 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.932e-05/0.7785, allocations: 19.98 kB / 0.5571 GB, free: 5.008 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.7785, allocations: 3.906 kB / 0.5571 GB, free: 5.004 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001269/0.7787, allocations: 73.56 kB / 0.5572 GB, free: 4.926 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.7787, allocations: 15.91 kB / 0.5572 GB, free: 4.91 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.7787, allocations: 0 / 0.5572 GB, free: 4.91 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.7787, allocations: 0 / 0.5572 GB, free: 4.91 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.949e-05/0.7788, allocations: 11.98 kB / 0.5572 GB, free: 4.898 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.7788, allocations: 0 / 0.5572 GB, free: 4.898 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.095e-05/0.7789, allocations: 4 kB / 0.5572 GB, free: 4.895 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.7789, allocations: 4 kB / 0.5572 GB, free: 4.891 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 6.932e-05/0.779, allocations: 106.4 kB / 0.5573 GB, free: 4.781 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.939e-05/0.779, allocations: 23.94 kB / 0.5573 GB, free: 4.758 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001743/0.7792, allocations: 90.61 kB / 0.5574 GB, free: 4.664 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.7792, allocations: 0 / 0.5574 GB, free: 4.664 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.7792, allocations: 0 / 0.5574 GB, free: 4.664 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.7792, allocations: 11.92 kB / 0.5574 GB, free: 4.652 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001391/0.7794, allocations: 182.1 kB / 0.5576 GB, free: 4.438 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.7794, allocations: 0 / 0.5576 GB, free: 4.438 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.811e-05/0.7794, allocations: 4 kB / 0.5576 GB, free: 4.434 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.7794, allocations: 0 / 0.5576 GB, free: 4.434 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.7794, allocations: 4 kB / 0.5576 GB, free: 4.43 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.7794, allocations: 3.906 kB / 0.5576 GB, free: 4.426 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.7794, allocations: 4 kB / 0.5576 GB, free: 4.422 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001242/0.7796, allocations: 104.9 kB / 0.5577 GB, free: 4.301 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002396/0.7798, allocations: 481.3 kB / 0.5582 GB, free: 3.809 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.622e-05/0.7799, allocations: 100.9 kB / 0.5583 GB, free: 3.691 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.822e-05/0.7799, allocations: 4 kB / 0.5583 GB, free: 3.688 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.658e-05/0.78, allocations: 0 / 0.5583 GB, free: 3.688 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.341e-05/0.78, allocations: 11.98 kB / 0.5583 GB, free: 3.676 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.154e-06/0.78, allocations: 0 / 0.5583 GB, free: 3.676 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001486/0.7802, allocations: 188.2 kB / 0.5585 GB, free: 3.492 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007868/0.781, allocations: 31.91 kB / 0.5585 GB, free: 3.461 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.0005967/0.7816, allocations: 327.1 kB / 0.5588 GB, free: 3.172 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001126/0.7817, allocations: 36 kB / 0.5588 GB, free: 3.137 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.7817, allocations: 0 / 0.5588 GB, free: 3.137 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.568e-05/0.7818, allocations: 20 kB / 0.5589 GB, free: 3.117 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002628/0.782, allocations: 26.97 kB / 0.5589 GB, free: 3.094 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004145/0.7825, allocations: 199.6 kB / 0.5591 GB, free: 2.867 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003143/0.7828, allocations: 0.7384 MB / 0.5598 GB, free: 2.105 MB / 394.7 MB Notification: Performance of SimCode: time 2.91e-07/0.7828, allocations: 0 / 0.5598 GB, free: 2.105 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test61_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test61.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1)