Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.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.Test40,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test40,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test40",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.001588/0.001588, allocations: 182.9 kB / 7.801 MB, free: 2.492 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.17/1.17, 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.0008278/0.0008278, allocations: 84.22 kB / 261.4 MB, free: 13.61 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.2382/0.2382, allocations: 43.48 MB / 352.8 MB, free: 2.016 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1775/0.4158, allocations: 64.97 MB / 417.8 MB, free: 40.47 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2651/0.681, allocations: 58.85 MB / 476.7 MB, free: 5.309 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1204/0.8014, allocations: 86.87 MB / 0.5503 GB, free: 12.1 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001968/0.8016, allocations: 79.34 kB / 0.5504 GB, free: 12.03 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.01523/0.8168, allocations: 5.492 MB / 0.5558 GB, free: 6.492 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.8169, allocations: 15.98 kB / 0.5558 GB, free: 6.477 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.157e-05/0.817, allocations: 19.81 kB / 0.5558 GB, free: 6.457 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00033/0.8173, allocations: 210.9 kB / 0.556 GB, free: 6.211 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/0.8173, allocations: 7.891 kB / 0.556 GB, free: 6.203 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.883e-05/0.8174, allocations: 0 / 0.556 GB, free: 6.203 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.825e-05/0.8174, allocations: 20 kB / 0.556 GB, free: 6.184 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.142e-05/0.8175, allocations: 53.61 kB / 0.5561 GB, free: 6.125 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.8176, allocations: 0 / 0.5561 GB, free: 6.125 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.8176, allocations: 0 / 0.5561 GB, free: 6.125 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.8176, allocations: 0 / 0.5561 GB, free: 6.125 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003684/0.818, allocations: 277.4 kB / 0.5563 GB, free: 5.816 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.981e-05/0.8181, allocations: 50.69 kB / 0.5564 GB, free: 5.758 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.691e-05/0.8181, allocations: 20.97 kB / 0.5564 GB, free: 5.734 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.328e-05/0.8181, allocations: 7.938 kB / 0.5564 GB, free: 5.727 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.081e-05/0.8182, allocations: 63.41 kB / 0.5565 GB, free: 5.652 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 3.036e-06/0.8182, allocations: 0 / 0.5565 GB, free: 5.652 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004391/0.8187, allocations: 137.1 kB / 0.5566 GB, free: 5.512 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.628e-05/0.8187, allocations: 51.41 kB / 0.5567 GB, free: 5.449 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001955/0.8189, allocations: 185.5 kB / 0.5568 GB, free: 5.258 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.423e-05/0.819, allocations: 25.7 kB / 0.5569 GB, free: 5.227 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.553e-05/0.819, allocations: 96.06 kB / 0.557 GB, free: 5.129 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.921e-05/0.8191, allocations: 19.72 kB / 0.557 GB, free: 5.109 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.448e-06/0.8191, allocations: 0 / 0.557 GB, free: 5.109 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.8192, allocations: 326.8 kB / 0.5573 GB, free: 4.781 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.388e-05/0.8193, allocations: 23.98 kB / 0.5573 GB, free: 4.758 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.137e-05/0.8193, allocations: 29.72 kB / 0.5573 GB, free: 4.723 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.67e-05/0.8194, allocations: 23.98 kB / 0.5574 GB, free: 4.699 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.8194, allocations: 0 / 0.5574 GB, free: 4.699 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001598/0.8195, allocations: 97.42 kB / 0.5575 GB, free: 4.598 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.8196, allocations: 4 kB / 0.5575 GB, free: 4.594 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.8196, allocations: 4.031 kB / 0.5575 GB, free: 4.59 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.8196, allocations: 0 / 0.5575 GB, free: 4.59 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.948e-05/0.8197, allocations: 20.17 kB / 0.5575 GB, free: 4.57 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.8197, allocations: 0 / 0.5575 GB, free: 4.57 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.23e-05/0.8198, allocations: 11.78 kB / 0.5575 GB, free: 4.559 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.8198, allocations: 4 kB / 0.5575 GB, free: 4.555 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 8.244e-05/0.8199, allocations: 117.5 kB / 0.5576 GB, free: 4.441 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.574e-05/0.8199, allocations: 11.81 kB / 0.5576 GB, free: 4.43 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002152/0.8201, allocations: 107 kB / 0.5577 GB, free: 4.32 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.8201, allocations: 4 kB / 0.5577 GB, free: 4.316 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.8202, allocations: 0 / 0.5577 GB, free: 4.316 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.8202, allocations: 0 / 0.5577 GB, free: 4.316 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000401/0.8206, allocations: 375.8 kB / 0.5581 GB, free: 3.902 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.8206, allocations: 0 / 0.5581 GB, free: 3.902 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.742e-05/0.8206, allocations: 16.17 kB / 0.5581 GB, free: 3.887 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.239e-06/0.8207, allocations: 8 kB / 0.5581 GB, free: 3.879 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.8207, allocations: 4.031 kB / 0.5581 GB, free: 3.875 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.8207, allocations: 0 / 0.5581 GB, free: 3.875 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.8207, allocations: 3.938 kB / 0.5581 GB, free: 3.871 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001836/0.8209, allocations: 206.1 kB / 0.5583 GB, free: 3.645 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002702/0.8212, allocations: 0.5842 MB / 0.5589 GB, free: 3.031 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.233e-05/0.8212, allocations: 85.02 kB / 0.559 GB, free: 2.93 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.265e-05/0.8213, allocations: 15.83 kB / 0.559 GB, free: 2.914 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.042e-05/0.8213, allocations: 0 / 0.559 GB, free: 2.914 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.531e-05/0.8214, allocations: 11.98 kB / 0.559 GB, free: 2.902 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.036e-05/0.8214, allocations: 7.984 kB / 0.559 GB, free: 2.895 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.000118/0.8215, allocations: 156.2 kB / 0.5591 GB, free: 2.742 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008176/0.8224, allocations: 28 kB / 0.5592 GB, free: 2.715 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.0007612/0.8231, allocations: 337.7 kB / 0.5595 GB, free: 2.422 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001639/0.8233, allocations: 59.92 kB / 0.5596 GB, free: 2.363 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.8233, allocations: 0 / 0.5596 GB, free: 2.363 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.197e-05/0.8234, allocations: 28 kB / 0.5596 GB, free: 2.336 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002689/0.8236, allocations: 31.73 kB / 0.5596 GB, free: 2.305 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003983/0.8241, allocations: 180.4 kB / 0.5598 GB, free: 2.094 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002774/0.8243, allocations: 0.7427 MB / 0.5605 GB, free: 1.324 MB / 394.7 MB Notification: Performance of SimCode: time 2.41e-07/0.8243, allocations: 0 / 0.5605 GB, free: 1.324 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test40_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test40.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1)