Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass,fileNamePrefix="Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_CenterOfGlass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.305/2.305, allocations: 284.8 MB / 292.1 MB, free: 10.81 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001815/0.001815, allocations: 185.3 kB / 360.3 MB, free: 7.527 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.931/1.931, allocations: 205.1 MB / 0.6187 GB, free: 13.18 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001288/0.001288, allocations: 86.17 kB / 0.7317 GB, free: 45.12 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2796/0.281, allocations: 121.4 MB / 0.8502 GB, free: 3.918 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6503/0.9313, allocations: 115.2 MB / 0.9628 GB, free: 78.63 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2739/1.205, allocations: 153 MB / 1.112 GB, free: 3.785 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003656/1.206, allocations: 92.78 kB / 1.112 GB, free: 3.695 MB / 0.7136 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.1671/1.373, allocations: 34.47 MB / 1.146 GB, free: 1.164 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.209e-05/1.373, allocations: 15.98 kB / 1.146 GB, free: 1.148 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06791/1.441, allocations: 3.83 MB / 1.15 GB, free: 13.31 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008483/1.449, allocations: 1.457 MB / 1.151 GB, free: 11.8 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.536e-05/1.449, allocations: 28.84 kB / 1.151 GB, free: 11.77 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009244/1.45, allocations: 47.98 kB / 1.151 GB, free: 11.72 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005592/1.456, allocations: 1.862 MB / 1.153 GB, free: 9.859 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005485/1.461, allocations: 1.873 MB / 1.155 GB, free: 7.98 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.059e-05/1.462, allocations: 0 / 1.155 GB, free: 7.98 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002438/1.462, allocations: 0 / 1.155 GB, free: 7.98 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.956e-05/1.462, allocations: 16 kB / 1.155 GB, free: 7.965 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02284/1.485, allocations: 8.145 MB / 1.163 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004907/1.49, allocations: 1.751 MB / 1.165 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00392/1.494, allocations: 1.507 MB / 1.166 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002558/1.494, allocations: 52.59 kB / 1.166 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.64e-05/1.494, allocations: 39.22 kB / 1.166 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=70): time 4.288e-06/1.494, allocations: 0 / 1.166 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of matching and sorting (n=70): time 0.02489/1.519, allocations: 5.473 MB / 1.171 GB, free: 6.207 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.267e-05/1.519, allocations: 56.06 kB / 1.171 GB, free: 6.141 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002675/1.522, allocations: 1.05 MB / 1.173 GB, free: 5.07 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0006314/1.522, allocations: 25.7 kB / 1.173 GB, free: 5.039 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004843/1.523, allocations: 324.2 kB / 1.173 GB, free: 4.715 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005473/1.523, allocations: 229.3 kB / 1.173 GB, free: 4.488 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003725/1.524, allocations: 0 / 1.173 GB, free: 4.488 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001729/1.524, allocations: 334 kB / 1.173 GB, free: 4.156 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005813/1.53, allocations: 2.172 MB / 1.175 GB, free: 1.984 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007014/1.537, allocations: 2.34 MB / 1.178 GB, free: 15.6 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03419/1.571, allocations: 4.093 MB / 1.182 GB, free: 11.5 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.104e-05/1.571, allocations: 4 kB / 1.182 GB, free: 11.49 MB / 0.7917 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.03771/1.609, allocations: 7.982 MB / 1.19 GB, free: 3.496 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 9.031e-05/1.609, allocations: 95.62 kB / 1.19 GB, free: 3.398 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03689/1.646, allocations: 7.028 MB / 1.197 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0683/1.714, allocations: 4.995 MB / 1.201 GB, free: 7.375 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0122/1.727, allocations: 0.7022 MB / 1.202 GB, free: 6.672 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02852/1.755, allocations: 5.22 MB / 1.207 GB, free: 1.426 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01679/1.772, allocations: 0.8383 MB / 1.208 GB, free: 0.5859 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007248/1.773, allocations: 63.91 kB / 1.208 GB, free: 0.5234 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/1.773, allocations: 8.719 kB / 1.208 GB, free: 0.5156 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03774/1.811, allocations: 7.174 MB / 1.215 GB, free: 9.332 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04141/1.852, allocations: 6.643 MB / 1.222 GB, free: 2.68 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006919/1.859, allocations: 0.9962 MB / 1.223 GB, free: 1.68 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01738/1.877, allocations: 0.9168 MB / 1.223 GB, free: 0.7617 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.027/1.904, allocations: 6.719 MB / 1.23 GB, free: 9.922 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01654/1.92, allocations: 0.8383 MB / 1.231 GB, free: 9.082 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006979/1.921, allocations: 64.56 kB / 1.231 GB, free: 9.02 MB / 0.8386 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.0006447/1.922, allocations: 116.7 kB / 1.231 GB, free: 8.898 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005288/1.922, allocations: 102.7 kB / 1.231 GB, free: 8.797 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02355/1.946, allocations: 5.029 MB / 1.236 GB, free: 3.801 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.233e-05/1.946, allocations: 8 kB / 1.236 GB, free: 3.793 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/1.946, allocations: 0 / 1.236 GB, free: 3.793 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.634e-05/1.946, allocations: 4.609 kB / 1.236 GB, free: 3.789 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02388/1.97, allocations: 7.036 MB / 1.243 GB, free: 12.55 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.1075/2.077, allocations: 7.645 MB / 1.25 GB, free: 4.945 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006178/2.084, allocations: 364.6 kB / 1.251 GB, free: 4.59 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.443/2.527, allocations: 6.752 MB / 1.257 GB, free: 327 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003701/2.527, allocations: 27.22 kB / 1.257 GB, free: 327 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01464/2.542, allocations: 4.313 MB / 1.262 GB, free: 326.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.706e-06/2.542, allocations: 0 / 1.262 GB, free: 326.5 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.09834/2.64, allocations: 7.87 MB / 1.269 GB, free: 326.3 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.1009/2.741, allocations: 8.263 MB / 1.277 GB, free: 325.7 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002003/2.743, allocations: 0.5395 MB / 1.278 GB, free: 325.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005349/2.744, allocations: 1.438 kB / 1.278 GB, free: 325.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01031/2.754, allocations: 0.5209 MB / 1.278 GB, free: 325.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003082/2.754, allocations: 48.69 kB / 1.278 GB, free: 325.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003037/2.755, allocations: 49.09 kB / 1.278 GB, free: 325.5 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.002292/2.757, allocations: 0.8021 MB / 1.279 GB, free: 325.4 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.006676/2.764, allocations: 0.7797 MB / 1.28 GB, free: 325.4 MB / 0.8542 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.001739/2.766, allocations: 319.7 kB / 1.28 GB, free: 325.3 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.02431/2.79, allocations: 6.057 MB / 1.286 GB, free: 325.1 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 6.733e-06/2.79, allocations: 1.031 kB / 1.286 GB, free: 325.1 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.005476/2.795, allocations: 1.552 MB / 1.288 GB, free: 325.1 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002057/2.798, allocations: 205.5 kB / 1.288 GB, free: 325.1 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01181/2.809, allocations: 2.914 MB / 1.291 GB, free: 324.7 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002886/2.812, allocations: 1.466 MB / 1.292 GB, free: 324 MB / 0.8542 GB Notification: Performance of SimCode: time 3.056e-06/2.812, allocations: 0 / 1.292 GB, free: 324 MB / 0.8542 GB (rm -f Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe ; mkfifo Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe >> ../files/Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_CenterOfGlass_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_CenterOfGlass.fmu > Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe 2>&1)