Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface.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.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface,fileNamePrefix="BuildingSystems_BuildingSystems_Buildings_Geometries_Viewfactors_Examples_PerpendicularSquareToRectangularSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface,fileNamePrefix="BuildingSystems_BuildingSystems_Buildings_Geometries_Viewfactors_Examples_PerpendicularSquareToRectangularSurface",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.7603/0.7603, allocations: 141.8 MB / 149.1 MB, free: 12.09 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.001096/0.001097, allocations: 181 kB / 181.9 MB, free: 8.82 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.494/1.494, allocations: 221.3 MB / 436 MB, free: 1.055 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.001138/0.001138, allocations: 82.98 kB / 0.507 GB, free: 10.04 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001905/0.001905, allocations: 265.5 kB / 0.5884 GB, free: 6.867 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 0.218/0.2199, allocations: 89.64 MB / 0.676 GB, free: 13.14 MB / 0.5575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5587/0.7786, allocations: 82.77 MB / 0.7568 GB, free: 138 MB / 0.5575 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.127/0.9057, allocations: 110.2 MB / 0.8644 GB, free: 27.71 MB / 0.5575 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002796/0.906, allocations: 79.92 kB / 0.8645 GB, free: 27.63 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.01877/0.9248, allocations: 6.448 MB / 0.8708 GB, free: 21.18 MB / 0.5575 GB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/0.9249, allocations: 8 kB / 0.8708 GB, free: 21.18 MB / 0.5575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.208e-05/0.925, allocations: 19.72 kB / 0.8708 GB, free: 21.16 MB / 0.5575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002559/0.9252, allocations: 202.7 kB / 0.871 GB, free: 20.92 MB / 0.5575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.9253, allocations: 8 kB / 0.871 GB, free: 20.91 MB / 0.5575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.523e-05/0.9253, allocations: 4 kB / 0.871 GB, free: 20.91 MB / 0.5575 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002381/0.9256, allocations: 148.2 kB / 0.8711 GB, free: 20.76 MB / 0.5575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002476/0.9258, allocations: 194.5 kB / 0.8713 GB, free: 20.56 MB / 0.5575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.9258, allocations: 0 / 0.8713 GB, free: 20.56 MB / 0.5575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.141e-05/0.9259, allocations: 0 / 0.8713 GB, free: 20.56 MB / 0.5575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.424e-05/0.9259, allocations: 39.91 kB / 0.8714 GB, free: 20.52 MB / 0.5575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007861/0.9267, allocations: 436.9 kB / 0.8718 GB, free: 20.06 MB / 0.5575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002129/0.9269, allocations: 82.59 kB / 0.8719 GB, free: 19.97 MB / 0.5575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.548e-05/0.927, allocations: 52.89 kB / 0.8719 GB, free: 19.91 MB / 0.5575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.957e-05/0.9271, allocations: 3.984 kB / 0.8719 GB, free: 19.91 MB / 0.5575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.698e-05/0.9271, allocations: 34.56 kB / 0.872 GB, free: 19.87 MB / 0.5575 GB Notification: Performance of pre-optimization done (n=9): time 1.904e-06/0.9271, allocations: 4 kB / 0.872 GB, free: 19.86 MB / 0.5575 GB Notification: Performance of matching and sorting (n=9): time 0.0003199/0.9274, allocations: 145.5 kB / 0.8721 GB, free: 19.71 MB / 0.5575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.596e-05/0.9275, allocations: 51.41 kB / 0.8721 GB, free: 19.65 MB / 0.5575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.9276, allocations: 141.1 kB / 0.8723 GB, free: 19.51 MB / 0.5575 GB Notification: Performance of collectPreVariables (initialization): time 1.378e-05/0.9276, allocations: 25.7 kB / 0.8723 GB, free: 19.48 MB / 0.5575 GB Notification: Performance of collectInitialEqns (initialization): time 5.589e-05/0.9277, allocations: 132 kB / 0.8724 GB, free: 19.34 MB / 0.5575 GB Notification: Performance of collectInitialBindings (initialization): time 1.866e-05/0.9277, allocations: 23.66 kB / 0.8724 GB, free: 19.32 MB / 0.5575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.995e-06/0.9277, allocations: 0 / 0.8724 GB, free: 19.32 MB / 0.5575 GB Notification: Performance of setup shared object (initialization): time 6.208e-05/0.9278, allocations: 326.7 kB / 0.8728 GB, free: 18.99 MB / 0.5575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.118e-05/0.9278, allocations: 55.95 kB / 0.8728 GB, free: 18.94 MB / 0.5575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.06e-05/0.9279, allocations: 71.34 kB / 0.8729 GB, free: 18.86 MB / 0.5575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001057/0.928, allocations: 55.89 kB / 0.8729 GB, free: 18.8 MB / 0.5575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.928, allocations: 3.984 kB / 0.8729 GB, free: 18.8 MB / 0.5575 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002305/0.9283, allocations: 161.5 kB / 0.8731 GB, free: 18.63 MB / 0.5575 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.9283, allocations: 6.969 kB / 0.8731 GB, free: 18.63 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.9283, allocations: 3.938 kB / 0.8731 GB, free: 18.62 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.9283, allocations: 4 kB / 0.8731 GB, free: 18.62 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.397e-05/0.9284, allocations: 15.98 kB / 0.8731 GB, free: 18.61 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.9284, allocations: 5.188 kB / 0.8731 GB, free: 18.6 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.635e-05/0.9285, allocations: 7.844 kB / 0.8731 GB, free: 18.59 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.755e-05/0.9286, allocations: 8 kB / 0.8731 GB, free: 18.59 MB / 0.5575 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 (9): * Single equations (assignments): 8 * Array equations: 1 * 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.874e-05/0.9286, allocations: 108.1 kB / 0.8732 GB, free: 18.48 MB / 0.5575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.499e-05/0.9287, allocations: 15.88 kB / 0.8733 GB, free: 18.46 MB / 0.5575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002887/0.929, allocations: 167.2 kB / 0.8734 GB, free: 18.29 MB / 0.5575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.025e-05/0.929, allocations: 7.922 kB / 0.8734 GB, free: 18.29 MB / 0.5575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.929, allocations: 0 / 0.8734 GB, free: 18.29 MB / 0.5575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.929, allocations: 0 / 0.8734 GB, free: 18.29 MB / 0.5575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002376/0.9293, allocations: 198.1 kB / 0.8736 GB, free: 18.05 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.9293, allocations: 0 / 0.8736 GB, free: 18.05 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.118e-05/0.9294, allocations: 12 kB / 0.8736 GB, free: 18.04 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.9294, allocations: 4 kB / 0.8736 GB, free: 18.04 MB / 0.5575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/0.9294, allocations: 7.984 kB / 0.8736 GB, free: 18.03 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.9294, allocations: 0 / 0.8736 GB, free: 18.03 MB / 0.5575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.9294, allocations: 0 / 0.8736 GB, free: 18.03 MB / 0.5575 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002581/0.9297, allocations: 251.2 kB / 0.8739 GB, free: 17.77 MB / 0.5575 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000294/0.93, allocations: 0.6263 MB / 0.8745 GB, free: 17.12 MB / 0.5575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.296e-05/0.93, allocations: 92.86 kB / 0.8746 GB, free: 17.02 MB / 0.5575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.704e-05/0.93, allocations: 0 / 0.8746 GB, free: 17.02 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.9302, allocations: 384 / 0.8746 GB, free: 17.02 MB / 0.5575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.715e-05/0.9302, allocations: 7.984 kB / 0.8746 GB, free: 17.01 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.661e-05/0.9302, allocations: 12.06 kB / 0.8746 GB, free: 17 MB / 0.5575 GB Notification: Performance of sort global known variables: time 5.684e-05/0.9303, allocations: 114.4 kB / 0.8747 GB, free: 16.89 MB / 0.5575 GB Notification: Performance of remove unused functions: time 0.001453/0.9317, allocations: 259.5 kB / 0.875 GB, free: 16.63 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 (9): * Single equations (assignments): 8 * Array equations: 1 * 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.0009455/0.9327, allocations: 302.8 kB / 0.8752 GB, free: 16.33 MB / 0.5575 GB Notification: Performance of simCode: created initialization part: time 0.0002845/0.933, allocations: 127.9 kB / 0.8754 GB, free: 16.2 MB / 0.5575 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.933, allocations: 3.938 kB / 0.8754 GB, free: 16.2 MB / 0.5575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001135/0.9331, allocations: 75.95 kB / 0.8754 GB, free: 16.12 MB / 0.5575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001837/0.9333, allocations: 3.906 kB / 0.8754 GB, free: 16.12 MB / 0.5575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005228/0.9338, allocations: 247.2 kB / 0.8757 GB, free: 15.86 MB / 0.5575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003264/0.9342, allocations: 0.77 MB / 0.8764 GB, free: 15.06 MB / 0.5575 GB Notification: Performance of SimCode: time 5.11e-07/0.9342, allocations: 0 / 0.8764 GB, free: 15.06 MB / 0.5575 GB (rm -f BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface.pipe ; mkfifo BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface.pipe >> ../files/BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Buildings_Geometries_Viewfactors_Examples_PerpendicularSquareToRectangularSurface_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Buildings_Geometries_Viewfactors_Examples_PerpendicularSquareToRectangularSurface.fmu > BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface.pipe 2>&1)