Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.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.phiSor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor") translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor") [: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.7321/0.7321, allocations: 141.8 MB / 149.1 MB, free: 4.547 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.0011/0.0011, allocations: 182.9 kB / 181.9 MB, free: 208 kB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.387/1.387, allocations: 221.3 MB / 436 MB, free: 9.395 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.000984/0.0009841, allocations: 95.84 kB / 0.507 GB, free: 24.17 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001855/0.001855, allocations: 285.4 kB / 0.5884 GB, free: 12.38 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 9.668e-06/9.699e-06, allocations: 4 kB / 0.6759 GB, free: 2.75 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4777/0.4778, allocations: 82.76 MB / 0.7567 GB, free: 113 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.129/0.6069, allocations: 109.9 MB / 0.864 GB, free: 2.945 MB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002109/0.6071, allocations: 88.28 kB / 0.8641 GB, free: 2.863 MB / 0.5263 GB Notification: Performance of FrontEnd: time 0.0106/0.6177, allocations: 4.602 MB / 0.8686 GB, free: 14.21 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 9.638e-06/0.6178, allocations: 4 kB / 0.8686 GB, free: 14.21 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.0004585/0.6183, allocations: 429.9 kB / 0.869 GB, free: 13.74 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.6183, allocations: 16.03 kB / 0.869 GB, free: 13.72 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.496e-05/0.6184, allocations: 19.72 kB / 0.8691 GB, free: 13.7 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001688/0.6185, allocations: 198.2 kB / 0.8692 GB, free: 13.47 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.6186, allocations: 3.906 kB / 0.8692 GB, free: 13.46 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.242e-05/0.6186, allocations: 0 / 0.8692 GB, free: 13.46 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001247/0.6187, allocations: 51.95 kB / 0.8693 GB, free: 13.41 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.8e-05/0.6188, allocations: 57.61 kB / 0.8694 GB, free: 13.35 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.104e-06/0.6188, allocations: 0 / 0.8694 GB, free: 13.35 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.6188, allocations: 0 / 0.8694 GB, free: 13.35 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.6189, allocations: 0 / 0.8694 GB, free: 13.35 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005392/0.6194, allocations: 325.4 kB / 0.8697 GB, free: 13 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 9.929e-05/0.6195, allocations: 58.55 kB / 0.8697 GB, free: 12.93 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.81e-05/0.6196, allocations: 32.91 kB / 0.8698 GB, free: 12.89 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 5.164e-05/0.6196, allocations: 7.984 kB / 0.8698 GB, free: 12.89 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.3e-05/0.6197, allocations: 38.56 kB / 0.8698 GB, free: 12.84 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=2): time 2.835e-06/0.6197, allocations: 3.984 kB / 0.8698 GB, free: 12.84 MB / 0.5419 GB Notification: Performance of matching and sorting (n=2): time 0.000285/0.62, allocations: 93.33 kB / 0.8699 GB, free: 12.74 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.373e-05/0.62, allocations: 51.41 kB / 0.8699 GB, free: 12.68 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002109/0.6202, allocations: 222.6 kB / 0.8701 GB, free: 12.46 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/0.6203, allocations: 29.73 kB / 0.8702 GB, free: 12.42 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 5.926e-05/0.6203, allocations: 104.1 kB / 0.8703 GB, free: 12.32 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 1.849e-05/0.6203, allocations: 3.906 kB / 0.8703 GB, free: 12.31 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.088e-06/0.6203, allocations: 0 / 0.8703 GB, free: 12.31 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.6205, allocations: 330.8 kB / 0.8706 GB, free: 11.98 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.765e-05/0.6205, allocations: 27.98 kB / 0.8706 GB, free: 11.95 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.571e-05/0.6206, allocations: 19.98 kB / 0.8706 GB, free: 11.93 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.173e-05/0.6206, allocations: 23.98 kB / 0.8707 GB, free: 11.91 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.6206, allocations: 64 / 0.8707 GB, free: 11.91 MB / 0.5419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000217/0.6209, allocations: 101.4 kB / 0.8708 GB, free: 11.8 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.6209, allocations: 11.94 kB / 0.8708 GB, free: 11.79 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.6209, allocations: 4 kB / 0.8708 GB, free: 11.79 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.6209, allocations: 3.938 kB / 0.8708 GB, free: 11.79 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/0.621, allocations: 11.98 kB / 0.8708 GB, free: 11.77 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.621, allocations: 4 kB / 0.8708 GB, free: 11.77 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.855e-05/0.6211, allocations: 13.7 kB / 0.8708 GB, free: 11.76 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.458e-05/0.6212, allocations: 5.172 kB / 0.8708 GB, free: 11.75 MB / 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 6.849e-05/0.6212, allocations: 101 kB / 0.8709 GB, free: 11.65 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.216e-05/0.6213, allocations: 19.72 kB / 0.8709 GB, free: 11.63 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002294/0.6216, allocations: 114.6 kB / 0.871 GB, free: 11.52 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.6216, allocations: 0 / 0.871 GB, free: 11.52 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.6216, allocations: 4.031 kB / 0.871 GB, free: 11.51 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.6216, allocations: 0 / 0.871 GB, free: 11.51 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002102/0.6218, allocations: 202.1 kB / 0.8712 GB, free: 11.28 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.634e-06/0.6218, allocations: 4 kB / 0.8712 GB, free: 11.27 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.275e-05/0.6219, allocations: 8 kB / 0.8712 GB, free: 11.27 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.6219, allocations: 3.938 kB / 0.8712 GB, free: 11.26 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.6219, allocations: 0 / 0.8712 GB, free: 11.26 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.6219, allocations: 7.984 kB / 0.8713 GB, free: 11.25 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.6219, allocations: 4 kB / 0.8713 GB, free: 11.25 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001959/0.6221, allocations: 187.2 kB / 0.8714 GB, free: 11.05 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.804e-05/0.6222, allocations: 96.81 kB / 0.8715 GB, free: 10.94 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.866e-05/0.6222, allocations: 0 / 0.8715 GB, free: 10.94 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.6223, allocations: 9.125 kB / 0.8715 GB, free: 10.93 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.235e-05/0.6224, allocations: 12.02 kB / 0.8716 GB, free: 10.92 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.145e-06/0.6224, allocations: 4 kB / 0.8716 GB, free: 10.91 MB / 0.5419 GB Notification: Performance of sort global known variables: time 0.0001457/0.6226, allocations: 173.2 kB / 0.8717 GB, free: 10.74 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0003037/0.6229, allocations: 43.92 kB / 0.8718 GB, free: 10.7 MB / 0.5419 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 (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 Backend phase and start with SimCode phase: time 0.0002665/0.6231, allocations: 163.1 kB / 0.8719 GB, free: 10.53 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0001099/0.6233, allocations: 43.92 kB / 0.872 GB, free: 10.49 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.6233, allocations: 0 / 0.872 GB, free: 10.49 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 2.978e-05/0.6233, allocations: 16 kB / 0.872 GB, free: 10.47 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003195/0.6236, allocations: 42.02 kB / 0.872 GB, free: 10.43 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004656/0.6241, allocations: 204.9 kB / 0.8722 GB, free: 10.21 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003638/0.6245, allocations: 0.7465 MB / 0.8729 GB, free: 9.434 MB / 0.5419 GB Notification: Performance of SimCode: time 2.41e-07/0.6245, allocations: 1.125 kB / 0.8729 GB, free: 9.434 MB / 0.5419 GB Notification: Performance of Templates: time 0.004902/0.6294, allocations: 1.712 MB / 0.8746 GB, free: 7.785 MB / 0.5419 GB make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.makefile (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.sim & ./BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe 2>&1)