Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass,fileNamePrefix="Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_CenterOfGlass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass,fileNamePrefix="Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_CenterOfGlass",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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.251/1.251, allocations: 249.4 MB / 256.7 MB, free: 6.895 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001195/0.001195, allocations: 185.2 kB / 316 MB, free: 3.578 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.327/1.327, allocations: 205.1 MB / 0.5667 GB, free: 15.64 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001066/0.001066, allocations: 85.95 kB / 0.671 GB, free: 4.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3919/0.393, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1815/0.5746, allocations: 106.3 MB / 0.8847 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.583/1.158, allocations: 148.2 MB / 1.029 GB, free: 6.801 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002473/1.158, allocations: 99.73 kB / 1.029 GB, free: 6.746 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 184 * Number of variables: 184 Notification: Performance of Generate backend data structure: time 0.09277/1.251, allocations: 34.77 MB / 1.063 GB, free: 9.98 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/1.251, allocations: 12 kB / 1.063 GB, free: 9.969 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03071/1.281, allocations: 3.831 MB / 1.067 GB, free: 6.152 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003459/1.285, allocations: 1.471 MB / 1.069 GB, free: 5 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.047e-05/1.285, allocations: 24 kB / 1.069 GB, free: 4.977 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003226/1.285, allocations: 44 kB / 1.069 GB, free: 4.934 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002458/1.288, allocations: 1.864 MB / 1.07 GB, free: 3.719 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002639/1.291, allocations: 1.865 MB / 1.072 GB, free: 2.387 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.878e-05/1.291, allocations: 0 / 1.072 GB, free: 2.387 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000143/1.291, allocations: 3.984 kB / 1.072 GB, free: 2.383 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.908e-05/1.291, allocations: 16 kB / 1.072 GB, free: 2.367 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01123/1.302, allocations: 8.149 MB / 1.08 GB, free: 11.36 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002146/1.304, allocations: 1.748 MB / 1.082 GB, free: 10.2 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001732/1.306, allocations: 1.497 MB / 1.083 GB, free: 9.219 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001623/1.306, allocations: 49.11 kB / 1.083 GB, free: 9.18 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/1.306, allocations: 38.97 kB / 1.084 GB, free: 9.137 MB / 0.698 GB Notification: Performance of pre-optimization done (n=70): time 3.466e-06/1.306, allocations: 0 / 1.084 GB, free: 9.137 MB / 0.698 GB Notification: Performance of matching and sorting (n=70): time 0.01232/1.318, allocations: 5.468 MB / 1.089 GB, free: 5.086 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.334e-05/1.318, allocations: 61.12 kB / 1.089 GB, free: 5.016 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001746/1.32, allocations: 1.053 MB / 1.09 GB, free: 4.148 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002858/1.321, allocations: 29.7 kB / 1.09 GB, free: 4.113 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002779/1.321, allocations: 324.2 kB / 1.09 GB, free: 3.789 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003163/1.321, allocations: 232.5 kB / 1.091 GB, free: 3.559 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002081/1.321, allocations: 0 / 1.091 GB, free: 3.559 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001043/1.321, allocations: 337.8 kB / 1.091 GB, free: 3.223 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002756/1.324, allocations: 2.168 MB / 1.093 GB, free: 1.055 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002869/1.327, allocations: 2.333 MB / 1.095 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01279/1.34, allocations: 4.101 MB / 1.099 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-06/1.34, allocations: 0 / 1.099 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.01862/1.359, allocations: 7.979 MB / 1.107 GB, free: 2.578 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.082e-05/1.359, allocations: 98.03 kB / 1.107 GB, free: 2.477 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01859/1.377, allocations: 7.027 MB / 1.114 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02961/1.407, allocations: 4.995 MB / 1.119 GB, free: 6.441 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005904/1.413, allocations: 0.6945 MB / 1.12 GB, free: 5.746 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01081/1.424, allocations: 5.226 MB / 1.125 GB, free: 496 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007911/1.432, allocations: 0.8422 MB / 1.125 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000364/1.432, allocations: 67.92 kB / 1.126 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/1.432, allocations: 4 kB / 1.126 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01933/1.451, allocations: 7.169 MB / 1.133 GB, free: 8.395 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01877/1.47, allocations: 6.638 MB / 1.139 GB, free: 1.75 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003479/1.474, allocations: 1 MB / 1.14 GB, free: 0.7422 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007601/1.481, allocations: 0.913 MB / 1.141 GB, free: 15.82 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01116/1.492, allocations: 6.714 MB / 1.147 GB, free: 9 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007673/1.5, allocations: 0.8423 MB / 1.148 GB, free: 8.156 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004309/1.501, allocations: 71.86 kB / 1.148 GB, free: 8.086 MB / 0.7605 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 (29): * Single equations (assignments): 28 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {11 43} Notification: Performance of prepare postOptimizeDAE: time 0.0005/1.501, allocations: 108.9 kB / 1.148 GB, free: 7.973 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003534/1.502, allocations: 102.7 kB / 1.149 GB, free: 7.871 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01056/1.512, allocations: 5.04 MB / 1.153 GB, free: 2.816 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.12e-05/1.512, allocations: 7.984 kB / 1.153 GB, free: 2.809 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/1.512, allocations: 3.906 kB / 1.153 GB, free: 2.805 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/1.512, allocations: 4 kB / 1.153 GB, free: 2.801 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01163/1.524, allocations: 7.03 MB / 1.16 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.04698/1.571, allocations: 7.6 MB / 1.168 GB, free: 3.934 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00292/1.574, allocations: 363.6 kB / 1.168 GB, free: 3.578 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04477/1.619, allocations: 6.756 MB / 1.175 GB, free: 12.81 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003556/1.619, allocations: 35.86 kB / 1.175 GB, free: 12.78 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00794/1.627, allocations: 4.312 MB / 1.179 GB, free: 8.43 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.436e-06/1.627, allocations: 8 kB / 1.179 GB, free: 8.422 MB / 0.7917 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04748/1.674, allocations: 7.821 MB / 1.187 GB, free: 0.5586 MB / 0.7917 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.04837/1.723, allocations: 8.212 MB / 1.195 GB, free: 8.289 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001474/1.724, allocations: 0.5462 MB / 1.195 GB, free: 7.723 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006082/1.725, allocations: 0 / 1.195 GB, free: 7.723 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005064/1.73, allocations: 0.5266 MB / 1.196 GB, free: 7.195 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002217/1.73, allocations: 40.59 kB / 1.196 GB, free: 7.156 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002147/1.731, allocations: 47.95 kB / 1.196 GB, free: 7.109 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.001537/1.732, allocations: 0.8049 MB / 1.197 GB, free: 6.293 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.004236/1.736, allocations: 0.7798 MB / 1.197 GB, free: 5.512 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 16 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {11 51} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008646/1.737, allocations: 322.4 kB / 1.198 GB, free: 5.195 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.01043/1.748, allocations: 6.059 MB / 1.204 GB, free: 15.12 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/1.748, allocations: 0 / 1.204 GB, free: 15.12 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.002924/1.751, allocations: 1.551 MB / 1.205 GB, free: 13.57 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00141/1.752, allocations: 204.4 kB / 1.205 GB, free: 13.37 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006685/1.759, allocations: 2.911 MB / 1.208 GB, free: 10.41 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001806/1.761, allocations: 1.463 MB / 1.21 GB, free: 8.922 MB / 0.823 GB Notification: Performance of SimCode: time 9.32e-07/1.761, allocations: 0 / 1.21 GB, free: 8.922 MB / 0.823 GB (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_CenterOfGlass_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_CenterOfGlass.fmu > Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe 2>&1)