Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.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.Test12,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test12,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test12",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.001082/0.001082, allocations: 192.1 kB / 7.804 MB, free: 2.5 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.151/1.151, allocations: 205.2 MB / 213.4 MB, free: 13.86 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.0008213/0.0008211, allocations: 83.75 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.1652/0.1652, allocations: 43.5 MB / 352.8 MB, free: 1.957 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.172/0.3372, allocations: 64.97 MB / 417.8 MB, free: 40.47 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.249/0.5862, allocations: 58.83 MB / 476.6 MB, free: 5.18 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1129/0.6992, allocations: 87.87 MB / 0.5513 GB, free: 11.04 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002635/0.6995, allocations: 79.45 kB / 0.5514 GB, free: 10.96 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.01173/0.7113, allocations: 4.332 MB / 0.5556 GB, free: 6.59 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.7114, allocations: 16 kB / 0.5556 GB, free: 6.574 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.9e-05/0.7114, allocations: 15.81 kB / 0.5556 GB, free: 6.559 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003065/0.7117, allocations: 238.6 kB / 0.5559 GB, free: 6.285 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.7118, allocations: 4 kB / 0.5559 GB, free: 6.281 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.234e-05/0.7118, allocations: 7.906 kB / 0.5559 GB, free: 6.273 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.826e-05/0.7119, allocations: 32 kB / 0.5559 GB, free: 6.242 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001364/0.712, allocations: 92.23 kB / 0.556 GB, free: 6.137 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.712, allocations: 0 / 0.556 GB, free: 6.137 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.7121, allocations: 4 kB / 0.556 GB, free: 6.133 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.7121, allocations: 0 / 0.556 GB, free: 6.133 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004997/0.7126, allocations: 0.4936 MB / 0.5565 GB, free: 5.594 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000211/0.7128, allocations: 74.62 kB / 0.5565 GB, free: 5.512 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.289e-05/0.7129, allocations: 28.86 kB / 0.5566 GB, free: 5.48 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.416e-05/0.7129, allocations: 3.984 kB / 0.5566 GB, free: 5.477 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001054/0.713, allocations: 71.39 kB / 0.5566 GB, free: 5.395 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.262e-06/0.713, allocations: 0 / 0.5566 GB, free: 5.395 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002204/0.7132, allocations: 93.42 kB / 0.5567 GB, free: 5.297 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.006e-05/0.7133, allocations: 59.41 kB / 0.5568 GB, free: 5.227 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001625/0.7134, allocations: 162.7 kB / 0.5569 GB, free: 5.055 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.7135, allocations: 25.7 kB / 0.557 GB, free: 5.023 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.389e-05/0.7135, allocations: 103.9 kB / 0.5571 GB, free: 4.918 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.677e-05/0.7136, allocations: 27.64 kB / 0.5571 GB, free: 4.891 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.62e-06/0.7136, allocations: 0 / 0.5571 GB, free: 4.891 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001002/0.7137, allocations: 326.8 kB / 0.5574 GB, free: 4.562 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.314e-05/0.7138, allocations: 24 kB / 0.5574 GB, free: 4.539 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.984e-05/0.7138, allocations: 52.28 kB / 0.5575 GB, free: 4.473 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.234e-05/0.7139, allocations: 35.86 kB / 0.5575 GB, free: 4.438 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.7139, allocations: 4 kB / 0.5575 GB, free: 4.434 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001705/0.7141, allocations: 121.4 kB / 0.5576 GB, free: 4.309 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.7141, allocations: 6.812 kB / 0.5576 GB, free: 4.305 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.718e-06/0.7141, allocations: 0 / 0.5576 GB, free: 4.305 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.7141, allocations: 7.906 kB / 0.5576 GB, free: 4.297 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/0.7142, allocations: 23.98 kB / 0.5577 GB, free: 4.273 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.7143, allocations: 0 / 0.5577 GB, free: 4.273 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.698e-05/0.7143, allocations: 16.06 kB / 0.5577 GB, free: 4.258 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.7144, allocations: 4 kB / 0.5577 GB, free: 4.254 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.84e-05/0.7144, allocations: 118.3 kB / 0.5578 GB, free: 4.133 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.25e-05/0.7145, allocations: 11.81 kB / 0.5578 GB, free: 4.121 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001886/0.7147, allocations: 107 kB / 0.5579 GB, free: 4.008 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.7147, allocations: 0 / 0.5579 GB, free: 4.008 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.7147, allocations: 0 / 0.5579 GB, free: 4.008 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.7147, allocations: 4 kB / 0.5579 GB, free: 4.004 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001566/0.7149, allocations: 190.2 kB / 0.5581 GB, free: 3.781 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.7149, allocations: 0 / 0.5581 GB, free: 3.781 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.25e-05/0.715, allocations: 19.98 kB / 0.5581 GB, free: 3.762 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.715, allocations: 0 / 0.5581 GB, free: 3.762 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.715, allocations: 4 kB / 0.5581 GB, free: 3.758 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.715, allocations: 0 / 0.5581 GB, free: 3.758 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.715, allocations: 0 / 0.5581 GB, free: 3.758 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002652/0.7153, allocations: 156.9 kB / 0.5583 GB, free: 3.586 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004181/0.7157, allocations: 0.5756 MB / 0.5588 GB, free: 2.988 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.358e-05/0.7158, allocations: 93 kB / 0.5589 GB, free: 2.879 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.383e-05/0.7158, allocations: 7.906 kB / 0.5589 GB, free: 2.871 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.719e-05/0.7159, allocations: 8 kB / 0.5589 GB, free: 2.863 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.483e-05/0.716, allocations: 12.11 kB / 0.5589 GB, free: 2.852 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/0.716, allocations: 4 kB / 0.559 GB, free: 2.848 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001065/0.7161, allocations: 136.1 kB / 0.5591 GB, free: 2.715 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007904/0.7169, allocations: 36 kB / 0.5591 GB, free: 2.68 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.0006972/0.7176, allocations: 312.4 kB / 0.5594 GB, free: 2.406 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001494/0.7177, allocations: 68.05 kB / 0.5595 GB, free: 2.34 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.7178, allocations: 4.125 kB / 0.5595 GB, free: 2.336 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.894e-05/0.7178, allocations: 31.94 kB / 0.5595 GB, free: 2.305 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002879/0.7181, allocations: 43.36 kB / 0.5596 GB, free: 2.262 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004483/0.7186, allocations: 171.7 kB / 0.5597 GB, free: 2.066 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002933/0.7189, allocations: 0.743 MB / 0.5604 GB, free: 1.297 MB / 394.7 MB Notification: Performance of SimCode: time 2.8e-07/0.7189, allocations: 0 / 0.5604 GB, free: 1.297 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test12_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test12.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1)