Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp.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.Fluid.Sources.Examples.Outside_Cp,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sources_Examples_Outside_Cp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_Cp,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sources_Examples_Outside_Cp",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.264/1.264, allocations: 249.4 MB / 256.7 MB, free: 7.047 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.001058/0.001058, allocations: 185.2 kB / 316 MB, free: 3.559 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.205/1.205, allocations: 205.2 MB / 0.5667 GB, free: 15.62 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.000974/0.0009741, allocations: 79.41 kB / 0.671 GB, free: 4.754 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.349/0.35, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1708/0.5209, allocations: 106.3 MB / 0.8847 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.607/4.128, allocations: 2.213 GB / 3.097 GB, free: 190.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002199/4.128, allocations: 83.95 kB / 3.098 GB, free: 190.5 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 397 * Number of variables: 397 Notification: Performance of Generate backend data structure: time 1.137/5.266, allocations: 469.5 MB / 3.556 GB, free: 58.63 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/5.266, allocations: 8 kB / 3.556 GB, free: 58.62 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002904/5.269, allocations: 485.2 kB / 3.556 GB, free: 58.14 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001507/5.27, allocations: 0.9933 MB / 3.557 GB, free: 57.11 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.052e-05/5.27, allocations: 48 kB / 3.557 GB, free: 57.06 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001445/5.27, allocations: 88 kB / 3.558 GB, free: 56.98 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002028/5.272, allocations: 1.529 MB / 3.559 GB, free: 55.45 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001864/5.274, allocations: 1.441 MB / 3.56 GB, free: 53.92 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.435e-05/5.274, allocations: 7.844 kB / 3.56 GB, free: 53.91 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001233/5.274, allocations: 8 kB / 3.56 GB, free: 53.91 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.322e-05/5.274, allocations: 40 kB / 3.561 GB, free: 53.87 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006199/5.281, allocations: 5.666 MB / 3.566 GB, free: 47.93 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001266/5.282, allocations: 1.099 MB / 3.567 GB, free: 46.82 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005416/5.282, allocations: 0.496 MB / 3.568 GB, free: 46.32 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006986/5.283, allocations: 0.8869 MB / 3.568 GB, free: 45.25 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007933/5.284, allocations: 0.676 MB / 3.569 GB, free: 44.55 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=117): time 3.015e-06/5.284, allocations: 0 / 3.569 GB, free: 44.55 MB / 0.8698 GB Notification: Performance of matching and sorting (n=117): time 0.002431/5.286, allocations: 1.116 MB / 3.57 GB, free: 43.43 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.57e-05/5.287, allocations: 252.3 kB / 3.57 GB, free: 43.13 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000785/5.287, allocations: 0.6963 MB / 3.571 GB, free: 42.42 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 8.769e-05/5.287, allocations: 25.7 kB / 3.571 GB, free: 42.39 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002722/5.288, allocations: 0.5113 MB / 3.572 GB, free: 41.87 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001962/5.288, allocations: 378.3 kB / 3.572 GB, free: 41.49 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.172e-05/5.288, allocations: 0 / 3.572 GB, free: 41.49 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 5.673e-05/5.288, allocations: 349.8 kB / 3.572 GB, free: 41.14 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004378/5.288, allocations: 353.9 kB / 3.573 GB, free: 40.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000511/5.289, allocations: 0.5073 MB / 3.573 GB, free: 40.24 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005687/5.29, allocations: 441.8 kB / 3.574 GB, free: 39.81 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/5.29, allocations: 4 kB / 3.574 GB, free: 39.81 MB / 0.8698 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001857/5.291, allocations: 1.081 MB / 3.575 GB, free: 38.71 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/5.291, allocations: 8 kB / 3.575 GB, free: 38.71 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/5.291, allocations: 0 / 3.575 GB, free: 38.71 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000606/5.292, allocations: 88.89 kB / 3.575 GB, free: 38.62 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001248/5.293, allocations: 267.7 kB / 3.575 GB, free: 38.36 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001635/5.295, allocations: 1.468 MB / 3.576 GB, free: 36.76 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001259/5.296, allocations: 119.2 kB / 3.577 GB, free: 36.64 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000112/5.296, allocations: 43.97 kB / 3.577 GB, free: 36.6 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (123): * Single equations (assignments): 122 * 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.0002702/5.297, allocations: 120.8 kB / 3.577 GB, free: 36.48 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000199/5.297, allocations: 122.6 kB / 3.577 GB, free: 36.36 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002665/5.3, allocations: 1.425 MB / 3.578 GB, free: 34.92 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.747e-06/5.3, allocations: 12 kB / 3.578 GB, free: 34.91 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.786e-06/5.3, allocations: 0 / 3.578 GB, free: 34.91 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.124e-05/5.3, allocations: 7.969 kB / 3.578 GB, free: 34.9 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001324/5.301, allocations: 1.234 MB / 3.579 GB, free: 33.62 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/5.301, allocations: 0 / 3.579 GB, free: 33.62 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001209/5.302, allocations: 267.7 kB / 3.58 GB, free: 33.36 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005005/5.303, allocations: 84.78 kB / 3.58 GB, free: 33.28 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.536e-05/5.303, allocations: 19.97 kB / 3.58 GB, free: 33.26 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001404/5.304, allocations: 1.484 MB / 3.581 GB, free: 31.66 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/5.304, allocations: 3.906 kB / 3.581 GB, free: 31.65 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002573/5.307, allocations: 1.846 MB / 3.583 GB, free: 29.79 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003382/5.31, allocations: 2.952 MB / 3.586 GB, free: 26.81 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000579/5.311, allocations: 411.1 kB / 3.586 GB, free: 26.39 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001825/5.311, allocations: 0 / 3.586 GB, free: 26.39 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001087/5.312, allocations: 107.8 kB / 3.586 GB, free: 26.28 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001203/5.312, allocations: 73.19 kB / 3.587 GB, free: 26.21 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001082/5.312, allocations: 59.95 kB / 3.587 GB, free: 26.15 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0005547/5.313, allocations: 0.5421 MB / 3.587 GB, free: 25.62 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002088/5.315, allocations: 0.7794 MB / 3.588 GB, free: 24.84 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (ori1.mExc,ori2.mExc) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 125 * 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.001978/5.317, allocations: 1.867 MB / 3.59 GB, free: 23.01 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001441/5.318, allocations: 1.057 MB / 3.591 GB, free: 21.94 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/5.318, allocations: 4.734 kB / 3.591 GB, free: 21.94 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008167/5.319, allocations: 0.6625 MB / 3.591 GB, free: 21.27 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001586/5.321, allocations: 407.2 kB / 3.592 GB, free: 20.87 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004676/5.325, allocations: 2.332 MB / 3.594 GB, free: 18.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001002/5.326, allocations: 1.485 MB / 3.596 GB, free: 16.98 MB / 0.8698 GB Notification: Performance of SimCode: time 7.11e-07/5.326, allocations: 0 / 3.596 GB, free: 16.98 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Sources_Examples_Outside_Cp_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Sources_Examples_Outside_Cp.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1)