Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.HeatTransfer.Examples.ConductorInitialization.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorInitialization,fileNamePrefix="Buildings_7_0_0_Buildings_HeatTransfer_Examples_ConductorInitialization",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.1/package.mo): time 2.278/2.278, allocations: 248.6 MB / 255.9 MB, free: 1.238 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001806/0.001805, allocations: 180.4 kB / 315.1 MB, free: 9.645 MB / 258.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.036/2.036, allocations: 205.1 MB / 0.5658 GB, free: 14.21 MB / 434.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001752/0.001752, allocations: 96.72 kB / 0.6699 GB, free: 52.09 MB / 498.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2748/0.2766, allocations: 112.4 MB / 0.7797 GB, free: 10.73 MB / 0.5496 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2581/0.5348, allocations: 106.2 MB / 0.8835 GB, free: 376 kB / 0.6434 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6457/1.181, allocations: 141.1 MB / 1.021 GB, free: 5.676 MB / 0.659 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002577/1.181, allocations: 77.94 kB / 1.021 GB, free: 5.602 MB / 0.659 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.2759/1.457, allocations: 32.04 MB / 1.053 GB, free: 5.66 MB / 0.6903 GB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/1.457, allocations: 8 kB / 1.053 GB, free: 5.652 MB / 0.6903 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009142/1.458, allocations: 106.7 kB / 1.053 GB, free: 5.547 MB / 0.6903 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008513/1.466, allocations: 2.077 MB / 1.055 GB, free: 3.414 MB / 0.6903 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.623e-05/1.466, allocations: 13.25 kB / 1.055 GB, free: 3.402 MB / 0.6903 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001373/1.466, allocations: 31.91 kB / 1.055 GB, free: 3.371 MB / 0.6903 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008954/1.467, allocations: 321.1 kB / 1.055 GB, free: 3.059 MB / 0.6903 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001434/1.469, allocations: 0.4993 MB / 1.056 GB, free: 2.516 MB / 0.6903 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.286e-05/1.469, allocations: 7.938 kB / 1.056 GB, free: 2.508 MB / 0.6903 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.851e-05/1.469, allocations: 0 / 1.056 GB, free: 2.508 MB / 0.6903 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.558e-05/1.469, allocations: 8 kB / 1.056 GB, free: 2.5 MB / 0.6903 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006934/1.476, allocations: 3.074 MB / 1.059 GB, free: 15.3 MB / 0.7059 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009443/1.477, allocations: 410 kB / 1.059 GB, free: 14.89 MB / 0.7059 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004428/1.477, allocations: 193 kB / 1.059 GB, free: 14.71 MB / 0.7059 GB Notification: Performance of preOpt evalFunc (simulation): time 2.059e-05/1.477, allocations: 4 kB / 1.059 GB, free: 14.7 MB / 0.7059 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.823e-05/1.477, allocations: 40.44 kB / 1.059 GB, free: 14.66 MB / 0.7059 GB Notification: Performance of pre-optimization done (n=26): time 3.217e-06/1.478, allocations: 0 / 1.059 GB, free: 14.66 MB / 0.7059 GB Notification: Performance of matching and sorting (n=26): time 0.001654/1.479, allocations: 0.4917 MB / 1.06 GB, free: 14.16 MB / 0.7059 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.652e-05/1.479, allocations: 59.34 kB / 1.06 GB, free: 14.09 MB / 0.7059 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003373/1.483, allocations: 1.243 MB / 1.061 GB, free: 12.82 MB / 0.7059 GB Notification: Performance of collectPreVariables (initialization): time 0.0001371/1.483, allocations: 25.7 kB / 1.061 GB, free: 12.79 MB / 0.7059 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003628/1.483, allocations: 268.7 kB / 1.061 GB, free: 12.53 MB / 0.7059 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004696/1.484, allocations: 98.5 kB / 1.061 GB, free: 12.43 MB / 0.7059 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.575e-05/1.484, allocations: 4 kB / 1.061 GB, free: 12.43 MB / 0.7059 GB Notification: Performance of setup shared object (initialization): time 0.0001572/1.484, allocations: 334 kB / 1.062 GB, free: 12.09 MB / 0.7059 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006987/1.485, allocations: 281.1 kB / 1.062 GB, free: 11.82 MB / 0.7059 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009521/1.486, allocations: 0.5772 MB / 1.062 GB, free: 11.1 MB / 0.7059 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009332/1.487, allocations: 379.2 kB / 1.063 GB, free: 10.73 MB / 0.7059 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.087e-05/1.487, allocations: 4 kB / 1.063 GB, free: 10.73 MB / 0.7059 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00368/1.49, allocations: 1.184 MB / 1.064 GB, free: 9.535 MB / 0.7059 GB Notification: Performance of prepare postOptimizeDAE: time 2.98e-05/1.49, allocations: 4 kB / 1.064 GB, free: 9.531 MB / 0.7059 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.909e-05/1.49, allocations: 15.94 kB / 1.064 GB, free: 9.516 MB / 0.7059 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002538/1.493, allocations: 452.1 kB / 1.064 GB, free: 9.074 MB / 0.7059 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007276/1.494, allocations: 111.8 kB / 1.065 GB, free: 8.965 MB / 0.7059 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01186/1.506, allocations: 4.67 MB / 1.069 GB, free: 4.184 MB / 0.7059 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004916/1.511, allocations: 266.9 kB / 1.069 GB, free: 3.922 MB / 0.7059 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000138/1.511, allocations: 37.81 kB / 1.069 GB, free: 3.887 MB / 0.7059 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 60 * 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: 1 {(1,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00029/1.511, allocations: 133.5 kB / 1.07 GB, free: 3.75 MB / 0.7059 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005846/1.512, allocations: 94.77 kB / 1.07 GB, free: 3.656 MB / 0.7059 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006608/1.512, allocations: 100.6 kB / 1.07 GB, free: 3.555 MB / 0.7059 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.347e-05/1.512, allocations: 4 kB / 1.07 GB, free: 3.551 MB / 0.7059 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.391e-05/1.512, allocations: 3.656 kB / 1.07 GB, free: 3.551 MB / 0.7059 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/1.512, allocations: 0 / 1.07 GB, free: 3.551 MB / 0.7059 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003677/1.516, allocations: 1.076 MB / 1.071 GB, free: 2.438 MB / 0.7059 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.789e-06/1.516, allocations: 4 kB / 1.071 GB, free: 2.434 MB / 0.7059 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001486/1.518, allocations: 83.86 kB / 1.071 GB, free: 2.352 MB / 0.7059 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004961/1.518, allocations: 44.83 kB / 1.071 GB, free: 2.305 MB / 0.7059 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001307/1.518, allocations: 15.98 kB / 1.071 GB, free: 2.289 MB / 0.7059 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002833/1.521, allocations: 1.439 MB / 1.072 GB, free: 0.7422 MB / 0.7059 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.024e-05/1.521, allocations: 4.031 kB / 1.072 GB, free: 0.7383 MB / 0.7059 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002967/1.524, allocations: 0.8212 MB / 1.073 GB, free: 15.9 MB / 0.7215 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002621/1.527, allocations: 1.462 MB / 1.075 GB, free: 14.41 MB / 0.7215 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001659/1.529, allocations: 0.9496 MB / 1.075 GB, free: 13.32 MB / 0.7215 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002525/1.529, allocations: 11.98 kB / 1.075 GB, free: 13.31 MB / 0.7215 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002368/1.531, allocations: 127.7 kB / 1.076 GB, free: 13.18 MB / 0.7215 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.567e-05/1.531, allocations: 19.88 kB / 1.076 GB, free: 13.16 MB / 0.7215 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.243e-05/1.532, allocations: 5.969 kB / 1.076 GB, free: 13.16 MB / 0.7215 GB Notification: Performance of sort global known variables: time 0.002413/1.534, allocations: 0.9274 MB / 1.077 GB, free: 12.22 MB / 0.7215 GB Notification: Performance of remove unused functions: time 0.003571/1.538, allocations: 0.5584 MB / 1.077 GB, free: 11.66 MB / 0.7215 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (conS1.lay[1].T[1],conS1.lay[1].T[2],conS1.lay[1].T[3],conS1.lay[1].T[4],conS1.lay[1].T[5],conS1.lay[2].T[1],conS1.lay[2].T[2],conS1.lay[2].T[3],conS1.lay[2].T[4],conS1.lay[2].T[5]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 24 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005636/1.538, allocations: 226.3 kB / 1.077 GB, free: 11.44 MB / 0.7215 GB Notification: Performance of simCode: created initialization part: time 0.002851/1.541, allocations: 0.8434 MB / 1.078 GB, free: 10.59 MB / 0.7215 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/1.541, allocations: 0 / 1.078 GB, free: 10.59 MB / 0.7215 GB Notification: Performance of simCode: created simulation system equations: time 0.0006931/1.542, allocations: 309.6 kB / 1.078 GB, free: 10.28 MB / 0.7215 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002078/1.544, allocations: 250.8 kB / 1.079 GB, free: 10.05 MB / 0.7215 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006157/1.55, allocations: 2.012 MB / 1.081 GB, free: 8.027 MB / 0.7215 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001783/1.552, allocations: 1.259 MB / 1.082 GB, free: 6.746 MB / 0.7215 GB Notification: Performance of SimCode: time 1.483e-06/1.552, allocations: 0 / 1.082 GB, free: 6.746 MB / 0.7215 GB