Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.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: translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi") translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi") [: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.7922/0.7922, allocations: 141.8 MB / 149.1 MB, free: 1.828 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 177.3 kB / 182 MB, free: 1.27 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.404/1.404, allocations: 221.3 MB / 436 MB, free: 6.086 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 96.59 kB / 0.507 GB, free: 2.77 MB / 410.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001783/0.001783, allocations: 278.6 kB / 0.5885 GB, free: 47.75 MB / 410.9 MB Notification: Performance of FrontEnd - loaded program: time 9.899e-06/9.929e-06, allocations: 4 kB / 0.6759 GB, free: 6.125 MB / 458.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4468/0.4469, allocations: 82.78 MB / 0.7567 GB, free: 25.2 MB / 458.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1447/0.5916, allocations: 111.6 MB / 0.8658 GB, free: 9.371 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002125/0.5918, allocations: 83.95 kB / 0.8658 GB, free: 9.289 MB / 0.5419 GB Notification: Performance of FrontEnd: time 0.01561/0.6074, allocations: 5.868 MB / 0.8716 GB, free: 3.32 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 1.198e-05/0.6075, allocations: 0 / 0.8716 GB, free: 3.32 MB / 0.5419 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.0007476/0.6083, allocations: 461.9 kB / 0.872 GB, free: 2.824 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/0.6083, allocations: 8.031 kB / 0.872 GB, free: 2.816 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.742e-05/0.6084, allocations: 19.72 kB / 0.872 GB, free: 2.797 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002835/0.6087, allocations: 218 kB / 0.8723 GB, free: 2.543 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.025e-05/0.6087, allocations: 0 / 0.8723 GB, free: 2.543 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.752e-05/0.6088, allocations: 3.984 kB / 0.8723 GB, free: 2.539 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002433/0.609, allocations: 95.92 kB / 0.8723 GB, free: 2.445 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001603/0.6092, allocations: 85.64 kB / 0.8724 GB, free: 2.355 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.6092, allocations: 0 / 0.8724 GB, free: 2.355 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.63e-05/0.6092, allocations: 0 / 0.8724 GB, free: 2.355 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.6092, allocations: 0 / 0.8724 GB, free: 2.355 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007589/0.61, allocations: 377.3 kB / 0.8728 GB, free: 1.949 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001936/0.6102, allocations: 118.4 kB / 0.8729 GB, free: 1.824 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001086/0.6103, allocations: 52.83 kB / 0.873 GB, free: 1.77 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001006/0.6105, allocations: 31.97 kB / 0.873 GB, free: 1.738 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.204e-05/0.6105, allocations: 30.56 kB / 0.873 GB, free: 1.699 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=2): time 1.633e-06/0.6105, allocations: 0 / 0.873 GB, free: 1.699 MB / 0.5419 GB Notification: Performance of matching and sorting (n=2): time 0.0004495/0.611, allocations: 149.3 kB / 0.8732 GB, free: 1.547 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.296e-05/0.611, allocations: 55.39 kB / 0.8732 GB, free: 1.48 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000263/0.6113, allocations: 217.1 kB / 0.8734 GB, free: 1.266 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 2.125e-05/0.6113, allocations: 25.7 kB / 0.8734 GB, free: 1.234 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 7.447e-05/0.6114, allocations: 100.1 kB / 0.8735 GB, free: 1.133 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 2.581e-05/0.6114, allocations: 11.92 kB / 0.8735 GB, free: 1.121 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.803e-06/0.6114, allocations: 0 / 0.8735 GB, free: 1.121 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001747/0.6116, allocations: 334.8 kB / 0.8739 GB, free: 0.7852 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.747e-05/0.6117, allocations: 47.95 kB / 0.8739 GB, free: 0.7383 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.407e-05/0.6118, allocations: 55.84 kB / 0.874 GB, free: 0.6836 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001309/0.6119, allocations: 47.95 kB / 0.874 GB, free: 0.6367 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.6119, allocations: 0 / 0.874 GB, free: 0.6367 MB / 0.5419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002442/0.6122, allocations: 157.3 kB / 0.8742 GB, free: 488 kB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.6122, allocations: 8.094 kB / 0.8742 GB, free: 480 kB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.6122, allocations: 0 / 0.8742 GB, free: 480 kB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.6123, allocations: 0 / 0.8742 GB, free: 480 kB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000133/0.6124, allocations: 15.98 kB / 0.8742 GB, free: 464 kB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.6124, allocations: 4 kB / 0.8742 GB, free: 460 kB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.557e-05/0.6125, allocations: 8 kB / 0.8742 GB, free: 452 kB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.311e-05/0.6125, allocations: 15.98 kB / 0.8742 GB, free: 436 kB / 0.5419 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 (2): * Single equations (assignments): 2 * 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.932e-05/0.6126, allocations: 104.9 kB / 0.8743 GB, free: 324 kB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.343e-05/0.6127, allocations: 15.81 kB / 0.8743 GB, free: 308 kB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004715/0.6132, allocations: 226.4 kB / 0.8745 GB, free: 80 kB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.6132, allocations: 3.984 kB / 0.8745 GB, free: 76 kB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.6132, allocations: 4 kB / 0.8745 GB, free: 72 kB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.6132, allocations: 0 / 0.8745 GB, free: 72 kB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003442/0.6135, allocations: 226.1 kB / 0.8748 GB, free: 15.81 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.6136, allocations: 0 / 0.8748 GB, free: 15.81 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.986e-05/0.6136, allocations: 15.98 kB / 0.8748 GB, free: 15.8 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.6137, allocations: 0 / 0.8748 GB, free: 15.8 MB / 0.5575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.756e-05/0.6137, allocations: 4 kB / 0.8748 GB, free: 15.79 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/0.6137, allocations: 3.906 kB / 0.8748 GB, free: 15.79 MB / 0.5575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.6137, allocations: 0 / 0.8748 GB, free: 15.79 MB / 0.5575 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003227/0.614, allocations: 259.2 kB / 0.875 GB, free: 15.52 MB / 0.5575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.586e-05/0.6141, allocations: 92.91 kB / 0.8751 GB, free: 15.41 MB / 0.5575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.48e-05/0.6141, allocations: 0 / 0.8751 GB, free: 15.41 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.6143, allocations: 11.94 kB / 0.8751 GB, free: 15.4 MB / 0.5575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.789e-05/0.6143, allocations: 7.891 kB / 0.8751 GB, free: 15.39 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.264e-05/0.6144, allocations: 11.94 kB / 0.8752 GB, free: 15.38 MB / 0.5575 GB Notification: Performance of sort global known variables: time 0.0001722/0.6145, allocations: 185.2 kB / 0.8753 GB, free: 15.2 MB / 0.5575 GB Notification: Performance of remove unused functions: time 0.0003825/0.6149, allocations: 75.81 kB / 0.8754 GB, free: 15.12 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.0003799/0.6153, allocations: 191.1 kB / 0.8756 GB, free: 14.93 MB / 0.5575 GB Notification: Performance of simCode: created initialization part: time 0.0001432/0.6155, allocations: 79.97 kB / 0.8757 GB, free: 14.85 MB / 0.5575 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.6155, allocations: 0 / 0.8757 GB, free: 14.85 MB / 0.5575 GB Notification: Performance of simCode: created simulation system equations: time 6.413e-05/0.6155, allocations: 43.98 kB / 0.8757 GB, free: 14.8 MB / 0.5575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003468/0.6159, allocations: 32.47 kB / 0.8757 GB, free: 14.77 MB / 0.5575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005009/0.6164, allocations: 244.7 kB / 0.876 GB, free: 14.51 MB / 0.5575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003901/0.6168, allocations: 0.7504 MB / 0.8767 GB, free: 13.73 MB / 0.5575 GB Notification: Performance of SimCode: time 3.71e-07/0.6168, allocations: 0 / 0.8767 GB, free: 13.73 MB / 0.5575 GB Notification: Performance of Templates: time 0.005458/0.6223, allocations: 2.152 MB / 0.8788 GB, free: 11.6 MB / 0.5575 GB make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.makefile (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.sim & ./BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.pipe 2>&1)