Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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) 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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins",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 9.1.1-maint.9.1.x/package.mo): time 1.999/1.999, allocations: 387.2 MB / 394.5 MB, free: 4.539 MB / 306.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 177.3 kB / 487 MB, free: 11.07 MB / 402.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 221.3 MB / 0.7819 GB, free: 3.984 MB / 0.5497 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008833/0.0008833, allocations: 96.61 kB / 0.9213 GB, free: 5.086 MB / 0.6903 GB Notification: Performance of FrontEnd - loaded program: time 0.5466/0.5475, allocations: 148.5 MB / 1.066 GB, free: 141 MB / 0.7216 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2594/0.807, allocations: 142.3 MB / 1.205 GB, free: 14.66 MB / 0.7372 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.693/4.5, allocations: 1.735 GB / 2.94 GB, free: 21.21 MB / 1.143 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002624/4.5, allocations: 87.94 kB / 2.94 GB, free: 21.12 MB / 1.143 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 295 * Number of variables: 295 Notification: Performance of Generate backend data structure: time 0.7361/5.236, allocations: 80.43 MB / 3.019 GB, free: 396.4 MB / 1.143 GB Notification: Performance of prepare preOptimizeDAE: time 5.728e-05/5.236, allocations: 12.7 kB / 3.019 GB, free: 396.4 MB / 1.143 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009069/5.245, allocations: 1.533 MB / 3.02 GB, free: 395.8 MB / 1.143 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002127/5.248, allocations: 0.8295 MB / 3.021 GB, free: 395.1 MB / 1.143 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.177e-05/5.248, allocations: 37.97 kB / 3.021 GB, free: 395.1 MB / 1.143 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002224/5.248, allocations: 64.94 kB / 3.021 GB, free: 395.1 MB / 1.143 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003699/5.252, allocations: 1.931 MB / 3.023 GB, free: 394.2 MB / 1.143 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002558/5.254, allocations: 1.434 MB / 3.025 GB, free: 393.4 MB / 1.143 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.915e-05/5.254, allocations: 0.9688 kB / 3.025 GB, free: 393.4 MB / 1.143 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00015/5.254, allocations: 5.156 kB / 3.025 GB, free: 393.4 MB / 1.143 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.486e-05/5.254, allocations: 32 kB / 3.025 GB, free: 393.4 MB / 1.143 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009877/5.264, allocations: 4.299 MB / 3.029 GB, free: 390.4 MB / 1.143 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003089/5.267, allocations: 1.818 MB / 3.031 GB, free: 389.5 MB / 1.143 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001284/5.269, allocations: 0.6825 MB / 3.031 GB, free: 389.2 MB / 1.143 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005026/5.269, allocations: 0.6018 MB / 3.032 GB, free: 388.5 MB / 1.143 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001561/5.271, allocations: 0.915 MB / 3.033 GB, free: 387.9 MB / 1.143 GB Notification: Performance of pre-optimization done (n=120): time 3.477e-06/5.271, allocations: 0 / 3.033 GB, free: 387.9 MB / 1.143 GB Notification: Performance of matching and sorting (n=120): time 0.003863/5.275, allocations: 1.528 MB / 3.034 GB, free: 387.2 MB / 1.143 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.541e-05/5.275, allocations: 257 kB / 3.035 GB, free: 386.9 MB / 1.143 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009513/5.276, allocations: 0.5668 MB / 3.035 GB, free: 386.6 MB / 1.143 GB Notification: Performance of collectPreVariables (initialization): time 0.0001326/5.276, allocations: 26.73 kB / 3.035 GB, free: 386.6 MB / 1.143 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002833/5.276, allocations: 368.7 kB / 3.036 GB, free: 386.2 MB / 1.143 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003119/5.276, allocations: 379.3 kB / 3.036 GB, free: 385.9 MB / 1.143 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.203e-05/5.277, allocations: 0 / 3.036 GB, free: 385.9 MB / 1.143 GB Notification: Performance of setup shared object (initialization): time 0.0001441/5.277, allocations: 396.6 kB / 3.036 GB, free: 385.5 MB / 1.143 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001024/5.278, allocations: 0.5928 MB / 3.037 GB, free: 385.3 MB / 1.143 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001255/5.279, allocations: 0.7311 MB / 3.038 GB, free: 384.8 MB / 1.143 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00152/5.281, allocations: 0.6421 MB / 3.038 GB, free: 384.5 MB / 1.143 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.161e-06/5.281, allocations: 0 / 3.038 GB, free: 384.5 MB / 1.143 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.003127/5.284, allocations: 1.549 MB / 3.04 GB, free: 382.9 MB / 1.143 GB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/5.284, allocations: 11.12 kB / 3.04 GB, free: 382.9 MB / 1.143 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.769e-06/5.284, allocations: 0 / 3.04 GB, free: 382.9 MB / 1.143 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006046/5.284, allocations: 86.02 kB / 3.04 GB, free: 382.8 MB / 1.143 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002454/5.287, allocations: 492.1 kB / 3.04 GB, free: 382.4 MB / 1.143 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001673/5.289, allocations: 1.473 MB / 3.042 GB, free: 380.8 MB / 1.143 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002307/5.291, allocations: 322.9 kB / 3.042 GB, free: 380.4 MB / 1.143 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001618/5.291, allocations: 55.94 kB / 3.042 GB, free: 380.4 MB / 1.143 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (125): * Single equations (assignments): 124 * 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 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003138/5.291, allocations: 120.8 kB / 3.042 GB, free: 380.3 MB / 1.143 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002386/5.292, allocations: 98.86 kB / 3.042 GB, free: 380.2 MB / 1.143 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004388/5.296, allocations: 2.013 MB / 3.044 GB, free: 378.1 MB / 1.143 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.171e-05/5.296, allocations: 16 kB / 3.044 GB, free: 378.1 MB / 1.143 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/5.296, allocations: 3.938 kB / 3.044 GB, free: 378.1 MB / 1.143 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.383e-05/5.296, allocations: 7.969 kB / 3.044 GB, free: 378.1 MB / 1.143 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005747/5.302, allocations: 3.453 MB / 3.048 GB, free: 374.7 MB / 1.143 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/5.302, allocations: 0 / 3.048 GB, free: 374.7 MB / 1.143 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002451/5.304, allocations: 499.2 kB / 3.048 GB, free: 374.2 MB / 1.143 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005241/5.305, allocations: 84.78 kB / 3.048 GB, free: 374.1 MB / 1.143 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001333/5.305, allocations: 35.94 kB / 3.048 GB, free: 374 MB / 1.143 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001601/5.307, allocations: 1.486 MB / 3.05 GB, free: 372.4 MB / 1.143 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/5.307, allocations: 3.938 kB / 3.05 GB, free: 372.4 MB / 1.143 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003133/5.31, allocations: 1.729 MB / 3.051 GB, free: 370.7 MB / 1.143 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003118/5.313, allocations: 2.149 MB / 3.053 GB, free: 368.5 MB / 1.143 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007165/5.314, allocations: 423.2 kB / 3.054 GB, free: 368.1 MB / 1.143 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002429/5.314, allocations: 7.938 kB / 3.054 GB, free: 368.1 MB / 1.143 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002021/5.316, allocations: 295.7 kB / 3.054 GB, free: 367.8 MB / 1.143 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001525/5.316, allocations: 77.19 kB / 3.054 GB, free: 367.7 MB / 1.143 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001464/5.316, allocations: 59.94 kB / 3.054 GB, free: 367.6 MB / 1.143 GB Notification: Performance of sort global known variables: time 0.0005467/5.317, allocations: 467.1 kB / 3.055 GB, free: 367.2 MB / 1.143 GB Notification: Performance of remove unused functions: time 0.002402/5.319, allocations: 0.5632 MB / 3.055 GB, free: 366.6 MB / 1.143 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (134): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001837/5.321, allocations: 1.09 MB / 3.056 GB, free: 365.8 MB / 1.143 GB Notification: Performance of simCode: created initialization part: time 0.002492/5.323, allocations: 1.569 MB / 3.058 GB, free: 364.2 MB / 1.143 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/5.324, allocations: 0 / 3.058 GB, free: 364.2 MB / 1.143 GB Notification: Performance of simCode: created simulation system equations: time 0.001282/5.325, allocations: 0.9326 MB / 3.059 GB, free: 363.2 MB / 1.143 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001287/5.326, allocations: 219.9 kB / 3.059 GB, free: 363 MB / 1.143 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005291/5.331, allocations: 2.126 MB / 3.061 GB, free: 360.9 MB / 1.143 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001326/5.333, allocations: 1.352 MB / 3.062 GB, free: 359.5 MB / 1.143 GB Notification: Performance of SimCode: time 6.42e-07/5.333, allocations: 0 / 3.062 GB, free: 359.5 MB / 1.143 GB (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins.fmu > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins_res.mat does not exist to compare? outputFormat=mat