Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.SimpleAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.SimpleAir,fileNamePrefix="ModelicaTest_trunk_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 trunk/package.mo): time 0.001568/0.001568, allocations: 204.2 kB / 8.536 MB, free: 468 kB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.227/1.227, allocations: 225.5 MB / 234.4 MB, free: 9.473 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009263/0.0009263, allocations: 94.17 kB / 286.3 MB, free: 5.855 MB / 226.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1738/0.1738, allocations: 45.15 MB / 383.3 MB, free: 4.891 MB / 322.8 MB Notification: Performance of FrontEnd - loaded program: time 0.169/0.3428, allocations: 69.37 MB / 452.7 MB, free: 48.22 MB / 322.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08742/0.4302, allocations: 63.24 MB / 0.5039 GB, free: 0.9141 MB / 338.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6212/1.052, allocations: 379 MB / 0.874 GB, free: 13.6 MB / 0.5183 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001974/1.052, allocations: 67.66 kB / 0.8741 GB, free: 13.57 MB / 0.5183 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.05577/1.108, allocations: 22.11 MB / 0.8957 GB, free: 11.35 MB / 0.5339 GB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/1.108, allocations: 8 kB / 0.8957 GB, free: 11.34 MB / 0.5339 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001518/1.108, allocations: 31.7 kB / 0.8957 GB, free: 11.31 MB / 0.5339 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002551/1.108, allocations: 237.9 kB / 0.8959 GB, free: 11.05 MB / 0.5339 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001195/1.108, allocations: 115.3 kB / 0.896 GB, free: 10.91 MB / 0.5339 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.6e-05/1.108, allocations: 12 kB / 0.8961 GB, free: 10.9 MB / 0.5339 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007765/1.109, allocations: 0.7096 MB / 0.8968 GB, free: 10.3 MB / 0.5339 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003646/1.109, allocations: 280.7 kB / 0.897 GB, free: 10.06 MB / 0.5339 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/1.109, allocations: 7.906 kB / 0.897 GB, free: 10.05 MB / 0.5339 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.882e-05/1.109, allocations: 4 kB / 0.897 GB, free: 10.05 MB / 0.5339 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.014e-05/1.109, allocations: 7.938 kB / 0.897 GB, free: 10.04 MB / 0.5339 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002862/1.112, allocations: 3.276 MB / 0.9002 GB, free: 6.371 MB / 0.5339 GB Notification: Performance of preOpt comSubExp (simulation): time 9.683e-05/1.112, allocations: 61.5 kB / 0.9003 GB, free: 6.312 MB / 0.5339 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.634e-05/1.112, allocations: 20.39 kB / 0.9003 GB, free: 6.293 MB / 0.5339 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005294/1.113, allocations: 0.5012 MB / 0.9008 GB, free: 5.742 MB / 0.5339 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.167e-05/1.113, allocations: 37.88 kB / 0.9008 GB, free: 5.699 MB / 0.5339 GB Notification: Performance of pre-optimization done (n=9): time 1.533e-06/1.113, allocations: 0 / 0.9008 GB, free: 5.699 MB / 0.5339 GB Notification: Performance of matching and sorting (n=10): time 0.0006062/1.114, allocations: 159.4 kB / 0.901 GB, free: 5.547 MB / 0.5339 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.505e-05/1.114, allocations: 51.41 kB / 0.901 GB, free: 5.484 MB / 0.5339 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001676/1.114, allocations: 196.7 kB / 0.9012 GB, free: 5.312 MB / 0.5339 GB Notification: Performance of collectPreVariables (initialization): time 2.185e-05/1.114, allocations: 29.7 kB / 0.9013 GB, free: 5.277 MB / 0.5339 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/1.114, allocations: 220.2 kB / 0.9015 GB, free: 5.074 MB / 0.5339 GB Notification: Performance of collectInitialBindings (initialization): time 2.85e-05/1.114, allocations: 42.81 kB / 0.9015 GB, free: 5.035 MB / 0.5339 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.258e-06/1.114, allocations: 0 / 0.9015 GB, free: 5.035 MB / 0.5339 GB Notification: Performance of setup shared object (initialization): time 0.0001095/1.114, allocations: 329.6 kB / 0.9018 GB, free: 4.715 MB / 0.5339 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.928e-05/1.114, allocations: 43.5 kB / 0.9019 GB, free: 4.684 MB / 0.5339 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002219/1.114, allocations: 304.9 kB / 0.9022 GB, free: 4.277 MB / 0.5339 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003509/1.115, allocations: 105.9 kB / 0.9023 GB, free: 4.188 MB / 0.5339 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.638e-06/1.115, allocations: 4 kB / 0.9023 GB, free: 4.184 MB / 0.5339 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.00069/1.116, allocations: 326.6 kB / 0.9026 GB, free: 3.887 MB / 0.5339 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/1.116, allocations: 4 kB / 0.9026 GB, free: 3.883 MB / 0.5339 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/1.116, allocations: 8 kB / 0.9026 GB, free: 3.875 MB / 0.5339 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.24e-05/1.116, allocations: 16 kB / 0.9026 GB, free: 3.859 MB / 0.5339 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003772/1.116, allocations: 111.4 kB / 0.9027 GB, free: 3.754 MB / 0.5339 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.64e-05/1.116, allocations: 15.94 kB / 0.9027 GB, free: 3.738 MB / 0.5339 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002747/1.116, allocations: 15.91 kB / 0.9027 GB, free: 3.723 MB / 0.5339 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.734e-05/1.116, allocations: 27.61 kB / 0.9028 GB, free: 3.699 MB / 0.5339 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 9.965e-05/1.117, allocations: 135.9 kB / 0.9029 GB, free: 3.566 MB / 0.5339 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.221e-05/1.117, allocations: 19.72 kB / 0.9029 GB, free: 3.547 MB / 0.5339 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002225/1.117, allocations: 99 kB / 0.903 GB, free: 3.453 MB / 0.5339 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.728e-06/1.117, allocations: 0 / 0.903 GB, free: 3.453 MB / 0.5339 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/1.117, allocations: 0 / 0.903 GB, free: 3.453 MB / 0.5339 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.263e-06/1.117, allocations: 8.031 kB / 0.903 GB, free: 3.445 MB / 0.5339 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005463/1.117, allocations: 397.9 kB / 0.9034 GB, free: 3.043 MB / 0.5339 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/1.117, allocations: 3.938 kB / 0.9034 GB, free: 3.039 MB / 0.5339 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001528/1.118, allocations: 27.92 kB / 0.9034 GB, free: 3.012 MB / 0.5339 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/1.118, allocations: 0 / 0.9034 GB, free: 3.012 MB / 0.5339 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/1.118, allocations: 0 / 0.9034 GB, free: 3.012 MB / 0.5339 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/1.118, allocations: 4 kB / 0.9034 GB, free: 3.008 MB / 0.5339 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/1.118, allocations: 0 / 0.9034 GB, free: 3.008 MB / 0.5339 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002374/1.118, allocations: 231.5 kB / 0.9036 GB, free: 2.762 MB / 0.5339 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003823/1.118, allocations: 0.6044 MB / 0.9042 GB, free: 2.145 MB / 0.5339 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001013/1.118, allocations: 116.3 kB / 0.9043 GB, free: 2.02 MB / 0.5339 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.182e-05/1.118, allocations: 0 / 0.9043 GB, free: 2.02 MB / 0.5339 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002209/1.119, allocations: 7.984 kB / 0.9044 GB, free: 2.012 MB / 0.5339 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.807e-05/1.119, allocations: 4 kB / 0.9044 GB, free: 2.008 MB / 0.5339 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.253e-05/1.119, allocations: 11.98 kB / 0.9044 GB, free: 1.996 MB / 0.5339 GB Notification: Performance of sort global known variables: time 0.0001013/1.119, allocations: 139.5 kB / 0.9045 GB, free: 1.879 MB / 0.5339 GB Notification: Performance of remove unused functions: time 0.001101/1.12, allocations: 107 kB / 0.9046 GB, free: 1.785 MB / 0.5339 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * 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.0002719/1.12, allocations: 189.9 kB / 0.9048 GB, free: 1.598 MB / 0.5339 GB Notification: Performance of simCode: created initialization part: time 0.0002967/1.12, allocations: 148.2 kB / 0.9049 GB, free: 1.477 MB / 0.5339 GB Notification: Performance of simCode: created event and clocks part: time 5.71e-06/1.121, allocations: 0 / 0.9049 GB, free: 1.477 MB / 0.5339 GB Notification: Performance of simCode: created simulation system equations: time 5.366e-05/1.121, allocations: 23.62 kB / 0.9049 GB, free: 1.457 MB / 0.5339 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000292/1.121, allocations: 32.5 kB / 0.905 GB, free: 1.43 MB / 0.5339 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000463/1.121, allocations: 198.1 kB / 0.9052 GB, free: 1.219 MB / 0.5339 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003723/1.122, allocations: 0.7553 MB / 0.9059 GB, free: 448 kB / 0.5339 GB Notification: Performance of SimCode: time 2.8e-07/1.122, allocations: 0 / 0.9059 GB, free: 448 kB / 0.5339 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_SimpleAir_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_SimpleAir.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1)