Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.SimpleAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.SimpleAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_SimpleAir",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 4.0.0+maint.om/package.mo): time 0.0009699/0.0009699, allocations: 174.8 kB / 8.518 MB, free: 1.832 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.156/1.156, allocations: 221.4 MB / 230.3 MB, free: 7.711 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009423/0.0009423, allocations: 80.73 kB / 281.2 MB, free: 5.457 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1594/0.1594, allocations: 44.15 MB / 376.1 MB, free: 3.219 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1737/0.3332, allocations: 68.03 MB / 444.1 MB, free: 15.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09169/0.4249, allocations: 61.91 MB / 0.4942 GB, free: 1.516 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5959/1.021, allocations: 378 MB / 0.8633 GB, free: 9.582 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001801/1.021, allocations: 67.97 kB / 0.8634 GB, free: 9.516 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0508/1.072, allocations: 21.97 MB / 0.8848 GB, free: 3.383 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/1.072, allocations: 11.94 kB / 0.8848 GB, free: 3.371 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001434/1.072, allocations: 23.81 kB / 0.8849 GB, free: 3.348 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002612/1.072, allocations: 230.7 kB / 0.8851 GB, free: 3.082 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001156/1.072, allocations: 111.3 kB / 0.8852 GB, free: 2.949 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.75e-05/1.072, allocations: 16 kB / 0.8852 GB, free: 2.934 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007987/1.073, allocations: 0.7189 MB / 0.8859 GB, free: 2.215 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004097/1.074, allocations: 277.1 kB / 0.8862 GB, free: 1.922 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/1.074, allocations: 3.938 kB / 0.8862 GB, free: 1.918 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.025e-05/1.074, allocations: 7.891 kB / 0.8862 GB, free: 1.91 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.093e-05/1.074, allocations: 8 kB / 0.8862 GB, free: 1.902 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002736/1.077, allocations: 3.186 MB / 0.8893 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 9.41e-05/1.077, allocations: 62.53 kB / 0.8894 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.661e-05/1.077, allocations: 24.95 kB / 0.8894 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006125/1.077, allocations: 0.5304 MB / 0.8899 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/1.077, allocations: 46.77 kB / 0.8899 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=8): time 1.363e-06/1.077, allocations: 0 / 0.8899 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of matching and sorting (n=9): time 0.0004813/1.078, allocations: 140.9 kB / 0.8901 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.983e-05/1.078, allocations: 55.41 kB / 0.8901 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001646/1.078, allocations: 203.5 kB / 0.8903 GB, free: 13.01 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/1.078, allocations: 25.7 kB / 0.8903 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000107/1.078, allocations: 230.5 kB / 0.8906 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.528e-05/1.078, allocations: 39.64 kB / 0.8906 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.077e-06/1.078, allocations: 3.938 kB / 0.8906 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.363e-05/1.078, allocations: 330.8 kB / 0.8909 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.591e-05/1.078, allocations: 32.88 kB / 0.891 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000193/1.079, allocations: 316.1 kB / 0.8913 GB, free: 11.89 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002755/1.079, allocations: 112 kB / 0.8914 GB, free: 11.79 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/1.079, allocations: 4 kB / 0.8914 GB, free: 11.78 MB / 0.5261 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006146/1.08, allocations: 329.9 kB / 0.8917 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/1.08, allocations: 4 kB / 0.8917 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.557e-05/1.08, allocations: 12 kB / 0.8917 GB, free: 11.44 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/1.08, allocations: 12 kB / 0.8917 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003518/1.08, allocations: 119.7 kB / 0.8918 GB, free: 11.31 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.616e-05/1.08, allocations: 19.92 kB / 0.8918 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002667/1.08, allocations: 12 kB / 0.8919 GB, free: 11.28 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.195e-05/1.08, allocations: 24 kB / 0.8919 GB, free: 11.25 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 51 * Array equations: 1 * 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 0.0001053/1.08, allocations: 128.8 kB / 0.892 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.192e-05/1.08, allocations: 23.72 kB / 0.892 GB, free: 11.1 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000206/1.081, allocations: 95.31 kB / 0.8921 GB, free: 10.99 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.196e-06/1.081, allocations: 0 / 0.8921 GB, free: 10.99 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/1.081, allocations: 0 / 0.8921 GB, free: 10.99 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/1.081, allocations: 0 / 0.8921 GB, free: 10.99 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004693/1.081, allocations: 371.8 kB / 0.8925 GB, free: 10.58 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/1.081, allocations: 4.031 kB / 0.8925 GB, free: 10.58 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001336/1.081, allocations: 27.97 kB / 0.8925 GB, free: 10.55 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/1.081, allocations: 0 / 0.8925 GB, free: 10.55 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-06/1.081, allocations: 0 / 0.8925 GB, free: 10.55 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/1.081, allocations: 4 kB / 0.8925 GB, free: 10.55 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/1.081, allocations: 96 / 0.8925 GB, free: 10.55 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002057/1.082, allocations: 213.7 kB / 0.8927 GB, free: 10.31 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003527/1.082, allocations: 0.5842 MB / 0.8933 GB, free: 9.699 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 9.605e-05/1.082, allocations: 108.9 kB / 0.8934 GB, free: 9.574 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.228e-05/1.082, allocations: 4 kB / 0.8934 GB, free: 9.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002072/1.082, allocations: 11.89 kB / 0.8934 GB, free: 9.559 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.562e-05/1.082, allocations: 4 kB / 0.8934 GB, free: 9.555 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.805e-05/1.082, allocations: 7.984 kB / 0.8934 GB, free: 9.547 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0001027/1.082, allocations: 136.5 kB / 0.8935 GB, free: 9.41 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001106/1.084, allocations: 96 kB / 0.8936 GB, free: 9.316 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * Array equations: 1 * 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 Backend phase and start with SimCode phase: time 0.0002588/1.084, allocations: 185.4 kB / 0.8938 GB, free: 9.129 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002528/1.084, allocations: 146.1 kB / 0.8939 GB, free: 8.988 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/1.084, allocations: 4.312 kB / 0.8939 GB, free: 8.984 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 4.917e-05/1.084, allocations: 27.92 kB / 0.894 GB, free: 8.957 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002613/1.084, allocations: 24.42 kB / 0.894 GB, free: 8.934 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000385/1.085, allocations: 193 kB / 0.8942 GB, free: 8.719 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003232/1.085, allocations: 0.762 MB / 0.8949 GB, free: 7.934 MB / 0.5261 GB Notification: Performance of SimCode: time 2.71e-07/1.085, allocations: 3.938 kB / 0.8949 GB, free: 7.93 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_SimpleAir_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_SimpleAir.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1)