Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.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.Test75,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test75",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test75,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test75",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.001048/0.001048, allocations: 191.1 kB / 7.804 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.121/1.121, 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.0008742/0.0008742, allocations: 83.45 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.1749/0.1749, allocations: 43.49 MB / 352.8 MB, free: 1.938 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.179/0.354, allocations: 64.98 MB / 417.8 MB, free: 40.44 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2569/0.6109, allocations: 58.83 MB / 476.7 MB, free: 5.172 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1091/0.7201, allocations: 87.01 MB / 0.5505 GB, free: 11.89 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001626/0.7203, allocations: 67.97 kB / 0.5505 GB, free: 11.83 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.02025/0.7406, allocations: 7.733 MB / 0.5581 GB, free: 4.051 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.442e-05/0.7407, allocations: 12 kB / 0.5581 GB, free: 4.039 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001234/0.7408, allocations: 27.62 kB / 0.5581 GB, free: 4.012 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006041/0.7414, allocations: 287 kB / 0.5584 GB, free: 3.688 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.211e-05/0.7415, allocations: 0 / 0.5584 GB, free: 3.688 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.238e-05/0.7415, allocations: 7.984 kB / 0.5584 GB, free: 3.68 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001223/0.7416, allocations: 35.98 kB / 0.5584 GB, free: 3.645 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00018/0.7418, allocations: 87.38 kB / 0.5585 GB, free: 3.547 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.877e-05/0.7418, allocations: 11.84 kB / 0.5585 GB, free: 3.535 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.816e-05/0.7419, allocations: 0 / 0.5585 GB, free: 3.535 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.7419, allocations: 4 kB / 0.5585 GB, free: 3.531 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000634/0.7425, allocations: 441.5 kB / 0.5589 GB, free: 3.059 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001683/0.7427, allocations: 105.4 kB / 0.559 GB, free: 2.938 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.292e-05/0.7428, allocations: 37.84 kB / 0.5591 GB, free: 2.895 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.599e-05/0.7428, allocations: 4 kB / 0.5591 GB, free: 2.891 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001384/0.7429, allocations: 109 kB / 0.5592 GB, free: 2.766 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 1.674e-06/0.743, allocations: 0 / 0.5592 GB, free: 2.766 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007019/0.7437, allocations: 287.9 kB / 0.5595 GB, free: 2.477 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.2e-05/0.7437, allocations: 85.05 kB / 0.5595 GB, free: 2.375 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004128/0.7442, allocations: 371.4 kB / 0.5599 GB, free: 2.012 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.364e-05/0.7442, allocations: 29.7 kB / 0.5599 GB, free: 1.977 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.125e-05/0.7442, allocations: 108.4 kB / 0.56 GB, free: 1.863 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.186e-05/0.7443, allocations: 51.3 kB / 0.5601 GB, free: 1.812 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.552e-06/0.7443, allocations: 0 / 0.5601 GB, free: 1.812 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.7444, allocations: 346.8 kB / 0.5604 GB, free: 1.465 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.601e-05/0.7445, allocations: 32 kB / 0.5604 GB, free: 1.434 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.08e-05/0.7446, allocations: 70.86 kB / 0.5605 GB, free: 1.355 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.593e-05/0.7447, allocations: 35.98 kB / 0.5605 GB, free: 1.32 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.7447, allocations: 0 / 0.5605 GB, free: 1.32 MB / 394.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002718/0.745, allocations: 173.4 kB / 0.5607 GB, free: 1.145 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.745, allocations: 4 kB / 0.5607 GB, free: 1.141 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.745, allocations: 4 kB / 0.5607 GB, free: 1.137 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.745, allocations: 0 / 0.5607 GB, free: 1.137 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001531/0.7452, allocations: 35.92 kB / 0.5608 GB, free: 1.102 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.7452, allocations: 4.062 kB / 0.5608 GB, free: 1.098 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001002/0.7453, allocations: 4 kB / 0.5608 GB, free: 1.094 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.808e-05/0.7453, allocations: 11.98 kB / 0.5608 GB, free: 1.082 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 8.777e-05/0.7454, allocations: 122.3 kB / 0.5609 GB, free: 0.957 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.142e-05/0.7455, allocations: 27.62 kB / 0.5609 GB, free: 0.9297 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003577/0.7458, allocations: 184.1 kB / 0.5611 GB, free: 0.7422 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.7459, allocations: 4 kB / 0.5611 GB, free: 0.7383 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.7459, allocations: 0 / 0.5611 GB, free: 0.7383 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.7459, allocations: 3.984 kB / 0.5611 GB, free: 0.7344 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007231/0.7466, allocations: 0.6248 MB / 0.5617 GB, free: 60 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/0.7466, allocations: 7.906 kB / 0.5617 GB, free: 52 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.589e-05/0.7467, allocations: 19.98 kB / 0.5617 GB, free: 32 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.7467, allocations: 3.938 kB / 0.5617 GB, free: 28 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.564e-05/0.7467, allocations: 4 kB / 0.5617 GB, free: 24 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.7467, allocations: 7.938 kB / 0.5617 GB, free: 16 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.7468, allocations: 0 / 0.5617 GB, free: 16 kB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003875/0.7471, allocations: 378.6 kB / 0.5621 GB, free: 15.6 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004794/0.7476, allocations: 0.7514 MB / 0.5628 GB, free: 14.8 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001158/0.7478, allocations: 120.7 kB / 0.563 GB, free: 14.66 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.281e-05/0.7478, allocations: 12.36 kB / 0.563 GB, free: 14.65 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001546/0.748, allocations: 8 kB / 0.563 GB, free: 14.64 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.925e-05/0.748, allocations: 11.98 kB / 0.563 GB, free: 14.63 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.881e-05/0.7481, allocations: 15.98 kB / 0.563 GB, free: 14.62 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.000301/0.7484, allocations: 299.1 kB / 0.5633 GB, free: 14.32 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009396/0.7493, allocations: 55.84 kB / 0.5633 GB, free: 14.27 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0007559/0.7501, allocations: 347.2 kB / 0.5637 GB, free: 13.98 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002139/0.7503, allocations: 103.9 kB / 0.5638 GB, free: 13.88 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.7503, allocations: 0 / 0.5638 GB, free: 13.88 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001005/0.7504, allocations: 59.91 kB / 0.5638 GB, free: 13.82 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004148/0.7508, allocations: 57.86 kB / 0.5639 GB, free: 13.76 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007415/0.7516, allocations: 391.4 kB / 0.5643 GB, free: 13.34 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004398/0.7521, allocations: 0.8092 MB / 0.565 GB, free: 12.5 MB / 410.7 MB Notification: Performance of SimCode: time 3.01e-07/0.7521, allocations: 0 / 0.565 GB, free: 12.5 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test75_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test75.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1)