Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Airflow.Multizone.Examples.Orifice.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/IDEAS 3.0.0-master/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) 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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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(IDEAS.Airflow.Multizone.Examples.Orifice,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.Orifice,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_Examples_Orifice",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.003443/0.003443, allocations: 179.8 kB / 7.458 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7361/0.7361, allocations: 133.5 MB / 141.4 MB, free: 15.73 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.536/1.536, allocations: 221.3 MB / 395 MB, free: 10.24 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 98.95 kB / 477.8 MB, free: 10.86 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.382/0.3831, allocations: 88.42 MB / 0.5529 GB, free: 89.21 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1543/0.5374, allocations: 82.31 MB / 0.6333 GB, free: 14.04 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.733/4.27, allocations: 1.873 GB / 2.506 GB, free: 89.91 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002775/4.271, allocations: 85.02 kB / 2.506 GB, free: 89.83 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 1.306/5.576, allocations: 360.7 MB / 2.858 GB, free: 2.324 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.613e-05/5.576, allocations: 8 kB / 2.858 GB, free: 2.316 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002321/5.579, allocations: 183.2 kB / 2.859 GB, free: 2.137 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001043/5.58, allocations: 412 kB / 2.859 GB, free: 1.691 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.335e-05/5.58, allocations: 12 kB / 2.859 GB, free: 1.68 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.362e-05/5.58, allocations: 16 kB / 2.859 GB, free: 1.664 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006834/5.581, allocations: 257.2 kB / 2.859 GB, free: 1.414 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000735/5.581, allocations: 351.1 kB / 2.86 GB, free: 1.047 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.196e-05/5.581, allocations: 0 / 2.86 GB, free: 1.047 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.134e-05/5.582, allocations: 4 kB / 2.86 GB, free: 1.043 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.43e-05/5.582, allocations: 8 kB / 2.86 GB, free: 1.035 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3492/5.931, allocations: 1.633 MB / 2.861 GB, free: 227.3 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005339/5.931, allocations: 253.6 kB / 2.861 GB, free: 227.3 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001773/5.932, allocations: 120.8 kB / 2.862 GB, free: 227.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001124/5.933, allocations: 1.042 MB / 2.863 GB, free: 226.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.065e-05/5.933, allocations: 36.5 kB / 2.863 GB, free: 226.1 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=25): time 4.058e-06/5.933, allocations: 3.5 kB / 2.863 GB, free: 226.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=25): time 0.001149/5.934, allocations: 312.1 kB / 2.863 GB, free: 226.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.694e-05/5.934, allocations: 54.75 kB / 2.863 GB, free: 226 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002326/5.934, allocations: 259.7 kB / 2.863 GB, free: 225.9 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.458e-05/5.934, allocations: 25.7 kB / 2.863 GB, free: 225.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.084e-05/5.934, allocations: 166.4 kB / 2.863 GB, free: 225.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.787e-05/5.934, allocations: 86.22 kB / 2.863 GB, free: 225.7 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.046e-05/5.934, allocations: 0 / 2.863 GB, free: 225.7 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.846e-05/5.934, allocations: 347.2 kB / 2.864 GB, free: 225.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.634e-05/5.935, allocations: 64.28 kB / 2.864 GB, free: 225.4 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001291/5.935, allocations: 108.5 kB / 2.864 GB, free: 225.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003214/5.935, allocations: 127.6 kB / 2.864 GB, free: 225.4 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/5.935, allocations: 0 / 2.864 GB, free: 225.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004901/5.936, allocations: 284.6 kB / 2.864 GB, free: 225.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/5.936, allocations: 3.906 kB / 2.864 GB, free: 225.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/5.936, allocations: 3.906 kB / 2.864 GB, free: 225.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/5.936, allocations: 0 / 2.864 GB, free: 225.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002362/5.936, allocations: 52.06 kB / 2.864 GB, free: 225.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.994e-06/5.936, allocations: 9.812 kB / 2.864 GB, free: 225.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002685/5.936, allocations: 30.67 kB / 2.864 GB, free: 225.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.796e-05/5.936, allocations: 13.84 kB / 2.864 GB, free: 225.3 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 28 * 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.671e-05/5.936, allocations: 111.2 kB / 2.865 GB, free: 225.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.394e-05/5.936, allocations: 38.09 kB / 2.865 GB, free: 225.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005788/5.937, allocations: 302.4 kB / 2.865 GB, free: 225.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/5.937, allocations: 6.969 kB / 2.865 GB, free: 225.1 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/5.937, allocations: 0 / 2.865 GB, free: 225.1 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/5.937, allocations: 0 / 2.865 GB, free: 225.1 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001118/5.938, allocations: 0.7974 MB / 2.866 GB, free: 224.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/5.938, allocations: 0 / 2.866 GB, free: 224.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002539/5.938, allocations: 58.81 kB / 2.866 GB, free: 224.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.64e-06/5.938, allocations: 3.812 kB / 2.866 GB, free: 224.8 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.117e-05/5.938, allocations: 3.469 kB / 2.866 GB, free: 224.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.045e-06/5.938, allocations: 3.938 kB / 2.866 GB, free: 224.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/5.938, allocations: 4.969 kB / 2.866 GB, free: 224.8 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006994/5.939, allocations: 0.6082 MB / 2.866 GB, free: 224.4 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009992/5.94, allocations: 1.136 MB / 2.867 GB, free: 223.7 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001378/5.94, allocations: 131.3 kB / 2.868 GB, free: 223.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.065e-05/5.94, allocations: 10.95 kB / 2.868 GB, free: 223.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003171/5.941, allocations: 30.44 kB / 2.868 GB, free: 223.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.501e-05/5.941, allocations: 19.17 kB / 2.868 GB, free: 223.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.168e-05/5.941, allocations: 11.16 kB / 2.868 GB, free: 223.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0001666/5.941, allocations: 204.7 kB / 2.868 GB, free: 223.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00149/5.942, allocations: 342.7 kB / 2.868 GB, free: 223.5 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 3 (ori.mExc,den1.d,den2.d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 25 * 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 Backend phase and start with SimCode phase: time 0.001456/5.944, allocations: 1.372 MB / 2.869 GB, free: 223.2 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002817/5.944, allocations: 179.2 kB / 2.87 GB, free: 223.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/5.944, allocations: 0 / 2.87 GB, free: 223.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000132/5.944, allocations: 97.12 kB / 2.87 GB, free: 223.2 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007995/5.945, allocations: 142.4 kB / 2.87 GB, free: 223.2 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001306/5.946, allocations: 0.6768 MB / 2.871 GB, free: 223 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003983/5.947, allocations: 0.875 MB / 2.871 GB, free: 222.3 MB / 0.6823 GB Notification: Performance of SimCode: time 1.122e-06/5.947, allocations: 0 / 2.871 GB, free: 222.3 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.Examples.Orifice.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.Examples.Orifice.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Airflow_Multizone_Examples_Orifice_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Airflow_Multizone_Examples_Orifice.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.Orifice.pipe 2>&1)