Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_Density_pTX",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/BuildingSystems 2.0.0-master/package.mo): time 0.7014/0.7014, allocations: 141.8 MB / 149.1 MB, free: 7.742 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 179.8 kB / 181.9 MB, free: 5.109 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.18/1.18, allocations: 221.3 MB / 436 MB, free: 12.91 MB / 346.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 86.27 kB / 0.507 GB, free: 6.344 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001723/0.001723, allocations: 283.6 kB / 0.5884 GB, free: 3.145 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 0.3177/0.3195, allocations: 89.64 MB / 0.676 GB, free: 164.6 MB / 0.5419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.4548, allocations: 82.78 MB / 0.7568 GB, free: 110.4 MB / 0.5419 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4441/0.8989, allocations: 134.5 MB / 0.8881 GB, free: 40.65 MB / 0.5575 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002643/0.8993, allocations: 79.44 kB / 0.8882 GB, free: 40.65 MB / 0.5575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.003837/0.9031, allocations: 1.657 MB / 0.8898 GB, free: 40.25 MB / 0.5575 GB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.9032, allocations: 10.12 kB / 0.8898 GB, free: 40.25 MB / 0.5575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.247e-05/0.9032, allocations: 2.328 kB / 0.8898 GB, free: 40.25 MB / 0.5575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.852e-05/0.9033, allocations: 173.5 kB / 0.89 GB, free: 40.05 MB / 0.5575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.105e-05/0.9034, allocations: 28.06 kB / 0.89 GB, free: 40.02 MB / 0.5575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.486e-06/0.9034, allocations: 2.359 kB / 0.89 GB, free: 40.02 MB / 0.5575 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.984e-05/0.9035, allocations: 5.156 kB / 0.89 GB, free: 40.02 MB / 0.5575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.392e-05/0.9035, allocations: 36.7 kB / 0.8901 GB, free: 39.99 MB / 0.5575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.455e-06/0.9035, allocations: 3.25 kB / 0.8901 GB, free: 39.99 MB / 0.5575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.885e-06/0.9035, allocations: 5.922 kB / 0.8901 GB, free: 39.98 MB / 0.5575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-06/0.9036, allocations: 1.75 kB / 0.8901 GB, free: 39.98 MB / 0.5575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001012/0.9037, allocations: 133.6 kB / 0.8902 GB, free: 39.82 MB / 0.5575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.475e-05/0.9037, allocations: 26.84 kB / 0.8902 GB, free: 39.8 MB / 0.5575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.841e-05/0.9037, allocations: 8.938 kB / 0.8902 GB, free: 39.79 MB / 0.5575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001428/0.9039, allocations: 90.14 kB / 0.8903 GB, free: 39.7 MB / 0.5575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.568e-05/0.9039, allocations: 39.03 kB / 0.8904 GB, free: 39.66 MB / 0.5575 GB Notification: Performance of pre-optimization done (n=3): time 1.853e-06/0.9039, allocations: 0 / 0.8904 GB, free: 39.66 MB / 0.5575 GB Notification: Performance of matching and sorting (n=3): time 0.0001724/0.9041, allocations: 45.42 kB / 0.8904 GB, free: 39.62 MB / 0.5575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.042e-05/0.9041, allocations: 52.53 kB / 0.8905 GB, free: 39.56 MB / 0.5575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.324e-05/0.9042, allocations: 91.55 kB / 0.8905 GB, free: 39.47 MB / 0.5575 GB Notification: Performance of collectPreVariables (initialization): time 7.154e-06/0.9042, allocations: 26.7 kB / 0.8906 GB, free: 39.44 MB / 0.5575 GB Notification: Performance of collectInitialEqns (initialization): time 1.044e-05/0.9042, allocations: 81.02 kB / 0.8906 GB, free: 39.36 MB / 0.5575 GB Notification: Performance of collectInitialBindings (initialization): time 2.121e-05/0.9042, allocations: 9.953 kB / 0.8907 GB, free: 39.35 MB / 0.5575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.076e-06/0.9042, allocations: 5.031 kB / 0.8907 GB, free: 39.35 MB / 0.5575 GB Notification: Performance of setup shared object (initialization): time 3.96e-05/0.9043, allocations: 315.1 kB / 0.891 GB, free: 39.04 MB / 0.5575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.286e-05/0.9043, allocations: 7.641 kB / 0.891 GB, free: 39.03 MB / 0.5575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.778e-06/0.9043, allocations: 3 kB / 0.891 GB, free: 39.03 MB / 0.5575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.281e-05/0.9044, allocations: 7.188 kB / 0.891 GB, free: 39.03 MB / 0.5575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.9044, allocations: 0 / 0.891 GB, free: 39.03 MB / 0.5575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.299e-05/0.9045, allocations: 50.69 kB / 0.891 GB, free: 39 MB / 0.5575 GB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/0.9045, allocations: 5.562 kB / 0.891 GB, free: 39 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.788e-06/0.9045, allocations: 0 / 0.891 GB, free: 39 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.021e-05/0.9045, allocations: 9.344 kB / 0.891 GB, free: 38.99 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.399e-05/0.9046, allocations: 5.312 kB / 0.891 GB, free: 38.99 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.9046, allocations: 2.375 kB / 0.891 GB, free: 38.99 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.107e-05/0.9046, allocations: 1.625 kB / 0.891 GB, free: 38.99 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.9046, allocations: 2.047 kB / 0.891 GB, free: 38.99 MB / 0.5575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 3.789e-05/0.9047, allocations: 106.6 kB / 0.8912 GB, free: 38.89 MB / 0.5575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.627e-06/0.9047, allocations: 5.094 kB / 0.8912 GB, free: 38.88 MB / 0.5575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001145/0.9048, allocations: 53.8 kB / 0.8912 GB, free: 38.85 MB / 0.5575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.9048, allocations: 5.344 kB / 0.8912 GB, free: 38.84 MB / 0.5575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.9048, allocations: 3.656 kB / 0.8912 GB, free: 38.84 MB / 0.5575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.9048, allocations: 0 / 0.8912 GB, free: 38.84 MB / 0.5575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.942e-05/0.9049, allocations: 136.4 kB / 0.8913 GB, free: 38.69 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.9049, allocations: 1.594 kB / 0.8913 GB, free: 38.69 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.643e-05/0.905, allocations: 6.531 kB / 0.8914 GB, free: 38.69 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.905, allocations: 3.906 kB / 0.8914 GB, free: 38.68 MB / 0.5575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.285e-06/0.905, allocations: 2.031 kB / 0.8914 GB, free: 38.68 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-06/0.905, allocations: 0 / 0.8914 GB, free: 38.68 MB / 0.5575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.905, allocations: 0 / 0.8914 GB, free: 38.68 MB / 0.5575 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.209e-05/0.9051, allocations: 71.78 kB / 0.8914 GB, free: 38.62 MB / 0.5575 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000114/0.9052, allocations: 455.3 kB / 0.8919 GB, free: 38.18 MB / 0.5575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.587e-05/0.9053, allocations: 84.7 kB / 0.8919 GB, free: 38.08 MB / 0.5575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.326e-05/0.9053, allocations: 1.469 kB / 0.8919 GB, free: 38.08 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.327e-05/0.9053, allocations: 1.875 kB / 0.8919 GB, free: 38.08 MB / 0.5575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.95e-05/0.9054, allocations: 5.312 kB / 0.892 GB, free: 38.08 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-06/0.9054, allocations: 3.484 kB / 0.892 GB, free: 38.08 MB / 0.5575 GB Notification: Performance of sort global known variables: time 1.671e-05/0.9054, allocations: 82.53 kB / 0.892 GB, free: 38 MB / 0.5575 GB Notification: Performance of remove unused functions: time 0.0007453/0.9061, allocations: 12.5 kB / 0.892 GB, free: 38 MB / 0.5575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001846/0.9063, allocations: 142.4 kB / 0.8922 GB, free: 37.91 MB / 0.5575 GB Notification: Performance of simCode: created initialization part: time 6.576e-05/0.9064, allocations: 12.66 kB / 0.8922 GB, free: 37.91 MB / 0.5575 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.9064, allocations: 0 / 0.8922 GB, free: 37.91 MB / 0.5575 GB Notification: Performance of simCode: created simulation system equations: time 1.664e-05/0.9064, allocations: 9.281 kB / 0.8922 GB, free: 37.91 MB / 0.5575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001428/0.9066, allocations: 17.78 kB / 0.8922 GB, free: 37.9 MB / 0.5575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001677/0.9068, allocations: 50.02 kB / 0.8923 GB, free: 37.84 MB / 0.5575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001191/0.9069, allocations: 0.6908 MB / 0.8929 GB, free: 37.14 MB / 0.5575 GB Notification: Performance of SimCode: time 2.71e-07/0.9069, allocations: 0 / 0.8929 GB, free: 37.14 MB / 0.5575 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)