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: "" <> buildModelFMU(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_phiSor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_phiSor",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.7029/0.7029, allocations: 141.8 MB / 149.1 MB, free: 1.332 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.001047/0.001047, allocations: 181.3 kB / 181.9 MB, free: 0.6328 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.317/1.317, allocations: 221.4 MB / 436 MB, free: 5.426 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.0008911/0.0008911, allocations: 96.55 kB / 0.507 GB, free: 2.09 MB / 410.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001662/0.001663, allocations: 280.9 kB / 0.5884 GB, free: 47.18 MB / 410.9 MB Notification: Performance of FrontEnd - loaded program: time 0.3442/0.3459, allocations: 89.63 MB / 0.676 GB, free: 59.56 MB / 442.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1559/0.5018, allocations: 82.77 MB / 0.7568 GB, free: 0.5586 MB / 442.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1434/0.6452, allocations: 109.9 MB / 0.8641 GB, free: 2.516 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002492/0.6455, allocations: 85.97 kB / 0.8642 GB, free: 2.434 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.2645/0.91, allocations: 5.034 MB / 0.8691 GB, free: 109.5 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.9101, allocations: 10.38 kB / 0.8691 GB, free: 109.5 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.455e-05/0.9101, allocations: 19.94 kB / 0.8691 GB, free: 109.5 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000169/0.9103, allocations: 204.8 kB / 0.8693 GB, free: 109.3 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.9103, allocations: 1.438 kB / 0.8693 GB, free: 109.3 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.808e-06/0.9103, allocations: 3.594 kB / 0.8693 GB, free: 109.3 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000106/0.9105, allocations: 52.97 kB / 0.8694 GB, free: 109.3 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.198e-05/0.9105, allocations: 57.28 kB / 0.8694 GB, free: 109.3 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/0.9106, allocations: 0 / 0.8694 GB, free: 109.3 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.9106, allocations: 0 / 0.8694 GB, free: 109.3 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.9106, allocations: 1.125 kB / 0.8694 GB, free: 109.3 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004903/0.9111, allocations: 320.8 kB / 0.8698 GB, free: 109 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001037/0.9112, allocations: 60.48 kB / 0.8698 GB, free: 109 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.113e-05/0.9113, allocations: 30.05 kB / 0.8698 GB, free: 109 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 5.294e-05/0.9113, allocations: 9.703 kB / 0.8698 GB, free: 109 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.519e-05/0.9113, allocations: 36.12 kB / 0.8699 GB, free: 109 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=2): time 1.283e-06/0.9114, allocations: 4 kB / 0.8699 GB, free: 109 MB / 0.5419 GB Notification: Performance of matching and sorting (n=2): time 0.0002675/0.9116, allocations: 96.17 kB / 0.87 GB, free: 108.9 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.951e-05/0.9117, allocations: 53.41 kB / 0.87 GB, free: 108.8 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002057/0.9119, allocations: 215.7 kB / 0.8702 GB, free: 108.8 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 9.007e-06/0.9119, allocations: 26.22 kB / 0.8703 GB, free: 108.7 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 3.246e-05/0.9119, allocations: 101.7 kB / 0.8704 GB, free: 108.6 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 1.695e-05/0.9119, allocations: 4.469 kB / 0.8704 GB, free: 108.6 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.448e-06/0.912, allocations: 1 kB / 0.8704 GB, free: 108.6 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 5.756e-05/0.912, allocations: 334.5 kB / 0.8707 GB, free: 108.3 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.757e-05/0.9121, allocations: 22.27 kB / 0.8707 GB, free: 108.3 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.435e-05/0.9121, allocations: 22.28 kB / 0.8707 GB, free: 108.3 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.093e-05/0.9122, allocations: 25.7 kB / 0.8707 GB, free: 108.3 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.9122, allocations: 0.6094 kB / 0.8707 GB, free: 108.3 MB / 0.5419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001587/0.9124, allocations: 101.6 kB / 0.8708 GB, free: 108.3 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.9124, allocations: 4.875 kB / 0.8708 GB, free: 108.3 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.9124, allocations: 0 / 0.8708 GB, free: 108.3 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.9124, allocations: 1.828 kB / 0.8708 GB, free: 108.3 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.9125, allocations: 17.47 kB / 0.8709 GB, free: 108.3 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.577e-06/0.9125, allocations: 3.875 kB / 0.8709 GB, free: 108.3 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.685e-05/0.9126, allocations: 13.12 kB / 0.8709 GB, free: 108.3 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.042e-05/0.9126, allocations: 3.156 kB / 0.8709 GB, free: 108.3 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 4.234e-05/0.9127, allocations: 107.9 kB / 0.871 GB, free: 108.2 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.755e-05/0.9127, allocations: 20.02 kB / 0.871 GB, free: 108.1 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002273/0.913, allocations: 118.7 kB / 0.8711 GB, free: 108.1 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.913, allocations: 0 / 0.8711 GB, free: 108.1 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.913, allocations: 3.938 kB / 0.8711 GB, free: 108.1 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.913, allocations: 2.906 kB / 0.8711 GB, free: 108.1 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001848/0.9132, allocations: 197.5 kB / 0.8713 GB, free: 107.9 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.9132, allocations: 4.734 kB / 0.8713 GB, free: 107.9 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.815e-05/0.9133, allocations: 17.84 kB / 0.8713 GB, free: 107.9 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.9133, allocations: 1.594 kB / 0.8713 GB, free: 107.9 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-06/0.9133, allocations: 1.312 kB / 0.8713 GB, free: 107.9 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.9133, allocations: 0.7969 kB / 0.8713 GB, free: 107.9 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.9133, allocations: 1.531 kB / 0.8713 GB, free: 107.9 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000172/0.9135, allocations: 189.2 kB / 0.8715 GB, free: 107.8 MB / 0.5419 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002019/0.9137, allocations: 0.5686 MB / 0.8721 GB, free: 107.3 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 3.877e-05/0.9137, allocations: 94.36 kB / 0.8722 GB, free: 107.2 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.968e-05/0.9138, allocations: 6.734 kB / 0.8722 GB, free: 107.2 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.9139, allocations: 7.641 kB / 0.8722 GB, free: 107.2 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.822e-05/0.9139, allocations: 8.297 kB / 0.8722 GB, free: 107.2 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.355e-06/0.914, allocations: 1.375 kB / 0.8722 GB, free: 107.2 MB / 0.5419 GB Notification: Performance of sort global known variables: time 0.0001401/0.9141, allocations: 178.6 kB / 0.8724 GB, free: 107.1 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0008787/0.915, allocations: 40.52 kB / 0.8724 GB, free: 107.1 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.0002526/0.9153, allocations: 162 kB / 0.8726 GB, free: 107 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0001025/0.9154, allocations: 36.67 kB / 0.8726 GB, free: 107 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.9154, allocations: 1.156 kB / 0.8726 GB, free: 107 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 3.396e-05/0.9154, allocations: 18.98 kB / 0.8726 GB, free: 107 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003387/0.9158, allocations: 43.56 kB / 0.8726 GB, free: 107 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004728/0.9162, allocations: 213.1 kB / 0.8729 GB, free: 106.9 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002331/0.9165, allocations: 0.7493 MB / 0.8736 GB, free: 106.2 MB / 0.5419 GB Notification: Performance of SimCode: time 2.7e-07/0.9165, allocations: 0 / 0.8736 GB, free: 106.2 MB / 0.5419 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_phiSor_fmu --startTime=0 --stopTime=200 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_phiSor.fmu > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe 2>&1)