Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",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.797/1.797, allocations: 387.2 MB / 394.5 MB, free: 13.66 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 169.4 kB / 487 MB, free: 5.406 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.185/1.185, allocations: 221.3 MB / 0.7819 GB, free: 1.457 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008433/0.0008433, allocations: 102.8 kB / 0.9213 GB, free: 2.719 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4129/0.4138, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1789/0.5927, allocations: 142.3 MB / 1.205 GB, free: 26.17 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5041/1.097, allocations: 172 MB / 1.373 GB, free: 4.492 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001994/1.097, allocations: 92.66 kB / 1.373 GB, free: 4.441 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.08607/1.183, allocations: 40.59 MB / 1.413 GB, free: 2.059 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.099e-05/1.183, allocations: 11.94 kB / 1.413 GB, free: 2.047 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001562/1.185, allocations: 222.1 kB / 1.413 GB, free: 1.832 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009017/1.186, allocations: 0.5386 MB / 1.414 GB, free: 1.312 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.458e-05/1.186, allocations: 23.91 kB / 1.414 GB, free: 1.289 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001011/1.186, allocations: 36 kB / 1.414 GB, free: 1.254 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008146/1.187, allocations: 0.5655 MB / 1.414 GB, free: 0.8828 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001208/1.188, allocations: 1.004 MB / 1.415 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.119e-05/1.188, allocations: 11.84 kB / 1.415 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.093e-05/1.188, allocations: 8 kB / 1.415 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.661e-05/1.188, allocations: 60.95 kB / 1.415 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004428/1.192, allocations: 5.665 MB / 1.421 GB, free: 10.29 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004349/1.193, allocations: 398.8 kB / 1.421 GB, free: 10.02 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003295/1.193, allocations: 304.8 kB / 1.422 GB, free: 9.836 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.964e-05/1.193, allocations: 4.688 kB / 1.422 GB, free: 9.832 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.832e-05/1.193, allocations: 34.19 kB / 1.422 GB, free: 9.793 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=41): time 1.823e-06/1.193, allocations: 0 / 1.422 GB, free: 9.793 MB / 0.8542 GB Notification: Performance of matching and sorting (n=42): time 0.001957/1.195, allocations: 1.134 MB / 1.423 GB, free: 8.891 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.142e-05/1.195, allocations: 55.41 kB / 1.423 GB, free: 8.824 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002963/1.196, allocations: 318.4 kB / 1.423 GB, free: 8.566 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.928e-05/1.196, allocations: 29.64 kB / 1.423 GB, free: 8.531 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001667/1.196, allocations: 339.8 kB / 1.424 GB, free: 8.227 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 9.86e-05/1.196, allocations: 139.8 kB / 1.424 GB, free: 8.105 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.229e-05/1.196, allocations: 0 / 1.424 GB, free: 8.105 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000115/1.196, allocations: 358.1 kB / 1.424 GB, free: 7.766 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002809/1.196, allocations: 226.6 kB / 1.424 GB, free: 7.621 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003957/1.197, allocations: 412.4 kB / 1.425 GB, free: 7.23 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000347/1.197, allocations: 290.5 kB / 1.425 GB, free: 7.035 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/1.197, allocations: 7.906 kB / 1.425 GB, free: 7.027 MB / 0.8542 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001486/1.199, allocations: 0.9016 MB / 1.426 GB, free: 6.309 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/1.199, allocations: 12.03 kB / 1.426 GB, free: 6.297 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/1.199, allocations: 4 kB / 1.426 GB, free: 6.293 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008948/1.2, allocations: 282.8 kB / 1.426 GB, free: 6.055 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003416/1.2, allocations: 91.33 kB / 1.426 GB, free: 5.969 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005366/1.205, allocations: 6.21 MB / 1.432 GB, free: 15.82 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003257/1.206, allocations: 8 kB / 1.432 GB, free: 15.81 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.995e-05/1.206, allocations: 23.56 kB / 1.432 GB, free: 15.79 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 47 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(3,88.9%) 5,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00012/1.206, allocations: 132.2 kB / 1.432 GB, free: 15.66 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.475e-05/1.206, allocations: 55.53 kB / 1.432 GB, free: 15.61 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001417/1.207, allocations: 0.8102 MB / 1.433 GB, free: 15 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/1.207, allocations: 4 kB / 1.433 GB, free: 15 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/1.207, allocations: 8 kB / 1.433 GB, free: 14.99 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.215e-05/1.207, allocations: 7.922 kB / 1.433 GB, free: 14.98 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002265/1.21, allocations: 1.518 MB / 1.435 GB, free: 13.73 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/1.21, allocations: 4.031 kB / 1.435 GB, free: 13.73 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001943/1.21, allocations: 39.97 kB / 1.435 GB, free: 13.69 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008401/1.211, allocations: 287.6 kB / 1.435 GB, free: 13.45 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.769e-05/1.211, allocations: 4 kB / 1.435 GB, free: 13.45 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005332/1.216, allocations: 6.192 MB / 1.441 GB, free: 7.324 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.162e-06/1.216, allocations: 7.969 kB / 1.441 GB, free: 7.316 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001417/1.218, allocations: 0.9805 MB / 1.442 GB, free: 6.445 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001532/1.219, allocations: 1.38 MB / 1.443 GB, free: 5.184 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002068/1.219, allocations: 170.3 kB / 1.444 GB, free: 5.012 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.027e-05/1.219, allocations: 4.062 kB / 1.444 GB, free: 5.008 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002485/1.22, allocations: 11.98 kB / 1.444 GB, free: 4.996 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.145e-05/1.22, allocations: 22.22 kB / 1.444 GB, free: 4.98 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.268e-05/1.22, allocations: 12 kB / 1.444 GB, free: 4.969 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0002073/1.22, allocations: 242.3 kB / 1.444 GB, free: 4.785 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001175/1.221, allocations: 172 kB / 1.444 GB, free: 4.617 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 21 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 2,(1,100.0%) 3,(1,100.0%) 5,(3,88.9%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001332/1.221, allocations: 106.2 kB / 1.444 GB, free: 4.504 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001493/1.223, allocations: 1.064 MB / 1.445 GB, free: 3.586 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/1.223, allocations: 0 / 1.445 GB, free: 3.586 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.00103/1.224, allocations: 0.7681 MB / 1.446 GB, free: 2.879 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007068/1.225, allocations: 162.3 kB / 1.446 GB, free: 2.75 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001524/1.226, allocations: 0.8937 MB / 1.447 GB, free: 1.918 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006086/1.227, allocations: 1.024 MB / 1.448 GB, free: 0.8906 MB / 0.8698 GB Notification: Performance of SimCode: time 2.3e-07/1.227, allocations: 0 / 1.448 GB, free: 0.8906 MB / 0.8698 GB (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.fmu > Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.mat does not exist to compare? outputFormat=mat