Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",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.403/2.403, allocations: 248.6 MB / 255.9 MB, free: 7.152 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.001674/0.001673, allocations: 177.3 kB / 315.1 MB, free: 4.266 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.163/2.163, allocations: 205.1 MB / 0.5658 GB, free: 352 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00193/0.001929, allocations: 82.78 kB / 0.67 GB, free: 5.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4757/0.4777, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.204/0.6818, allocations: 106.2 MB / 0.8835 GB, free: 13.35 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7188/1.401, allocations: 162 MB / 1.042 GB, free: 12.06 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003915/1.401, allocations: 98.42 kB / 1.042 GB, free: 12.01 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.07995/1.481, allocations: 19.37 MB / 1.061 GB, free: 11.85 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/1.481, allocations: 8 kB / 1.061 GB, free: 11.84 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001522/1.483, allocations: 111.4 kB / 1.061 GB, free: 11.73 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007856/1.483, allocations: 283.6 kB / 1.061 GB, free: 11.43 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.077e-05/1.484, allocations: 8 kB / 1.061 GB, free: 11.43 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.355e-05/1.484, allocations: 23.3 kB / 1.061 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007716/1.484, allocations: 257.8 kB / 1.061 GB, free: 11.23 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009048/1.485, allocations: 406.9 kB / 1.062 GB, free: 10.89 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.293e-05/1.485, allocations: 0 / 1.062 GB, free: 10.89 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.079e-05/1.485, allocations: 3.938 kB / 1.062 GB, free: 10.89 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.135e-05/1.486, allocations: 31.11 kB / 1.062 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004257/1.49, allocations: 2.159 MB / 1.064 GB, free: 8.734 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005937/1.49, allocations: 240 kB / 1.064 GB, free: 8.562 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003591/1.491, allocations: 165.2 kB / 1.064 GB, free: 8.453 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 5.61e-05/1.491, allocations: 192 / 1.064 GB, free: 8.453 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.33e-05/1.491, allocations: 38.75 kB / 1.064 GB, free: 8.406 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=22): time 2.244e-06/1.491, allocations: 0 / 1.064 GB, free: 8.406 MB / 0.6823 GB Notification: Performance of matching and sorting (n=23): time 0.002191/1.493, allocations: 0.8017 MB / 1.065 GB, free: 7.711 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.526e-05/1.493, allocations: 55.41 kB / 1.065 GB, free: 7.645 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000327/1.494, allocations: 200.1 kB / 1.065 GB, free: 7.477 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.099e-05/1.494, allocations: 25.7 kB / 1.065 GB, free: 7.445 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001245/1.494, allocations: 168.2 kB / 1.066 GB, free: 7.285 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 9.83e-05/1.494, allocations: 92.06 kB / 1.066 GB, free: 7.207 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.739e-05/1.494, allocations: 0 / 1.066 GB, free: 7.207 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000145/1.494, allocations: 333.8 kB / 1.066 GB, free: 6.879 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003861/1.494, allocations: 149.4 kB / 1.066 GB, free: 6.785 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005106/1.495, allocations: 218.4 kB / 1.066 GB, free: 6.594 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006345/1.496, allocations: 189.9 kB / 1.066 GB, free: 6.465 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/1.496, allocations: 0 / 1.066 GB, free: 6.465 MB / 0.6823 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001934/1.498, allocations: 0.5553 MB / 1.067 GB, free: 6.027 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/1.498, allocations: 4 kB / 1.067 GB, free: 6.023 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/1.498, allocations: 7.984 kB / 1.067 GB, free: 6.016 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001129/1.499, allocations: 186.6 kB / 1.067 GB, free: 5.859 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005626/1.499, allocations: 59.91 kB / 1.067 GB, free: 5.801 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00428/1.504, allocations: 2.136 MB / 1.069 GB, free: 3.855 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000556/1.504, allocations: 12.05 kB / 1.069 GB, free: 3.844 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.763e-05/1.504, allocations: 15.94 kB / 1.069 GB, free: 3.832 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * 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 {(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001556/1.505, allocations: 108.9 kB / 1.069 GB, free: 3.719 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.752e-05/1.505, allocations: 27.7 kB / 1.069 GB, free: 3.691 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009071/1.506, allocations: 345.3 kB / 1.07 GB, free: 3.438 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-06/1.506, allocations: 4.219 kB / 1.07 GB, free: 3.434 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.635e-06/1.506, allocations: 3.906 kB / 1.07 GB, free: 3.43 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/1.506, allocations: 11.88 kB / 1.07 GB, free: 3.418 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001701/1.507, allocations: 0.7546 MB / 1.071 GB, free: 2.762 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/1.507, allocations: 0 / 1.071 GB, free: 2.762 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007993/1.508, allocations: 67.94 kB / 1.071 GB, free: 2.695 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-05/1.508, allocations: 11.92 kB / 1.071 GB, free: 2.684 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.452e-05/1.508, allocations: 3.875 kB / 1.071 GB, free: 2.684 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/1.508, allocations: 4 kB / 1.071 GB, free: 2.68 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.207e-06/1.508, allocations: 64 / 1.071 GB, free: 2.68 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001262/1.51, allocations: 0.6254 MB / 1.071 GB, free: 2.164 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001941/1.512, allocations: 1.211 MB / 1.072 GB, free: 1.141 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002458/1.512, allocations: 131 kB / 1.073 GB, free: 1.004 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.401e-05/1.512, allocations: 0 / 1.073 GB, free: 1.004 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003788/1.512, allocations: 7.984 kB / 1.073 GB, free: 0.9961 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.87e-05/1.512, allocations: 15.98 kB / 1.073 GB, free: 0.9805 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.928e-05/1.512, allocations: 7.625 kB / 1.073 GB, free: 0.9766 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0002372/1.513, allocations: 156.9 kB / 1.073 GB, free: 0.8477 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001482/1.514, allocations: 87.42 kB / 1.073 GB, free: 0.7656 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002429/1.514, allocations: 118.8 kB / 1.073 GB, free: 0.6445 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001371/1.516, allocations: 490.2 kB / 1.073 GB, free: 272 kB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/1.516, allocations: 0 / 1.073 GB, free: 272 kB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003448/1.516, allocations: 151.4 kB / 1.074 GB, free: 164 kB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005226/1.517, allocations: 34.48 kB / 1.074 GB, free: 136 kB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002271/1.519, allocations: 0.6983 MB / 1.074 GB, free: 15.46 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007347/1.52, allocations: 0.8399 MB / 1.075 GB, free: 14.61 MB / 0.698 GB Notification: Performance of SimCode: time 6.42e-07/1.52, allocations: 0 / 1.075 GB, free: 14.61 MB / 0.698 GB