Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Examples.ConductorInitialization.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.Examples.ConductorInitialization,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Examples_ConductorInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorInitialization,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Examples_ConductorInitialization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.194/2.194, allocations: 387.1 MB / 399.7 MB, free: 9.473 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.001074/0.001074, allocations: 172.9 kB / 492.3 MB, free: 0.625 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.422/1.422, allocations: 221.3 MB / 0.7871 GB, free: 12.88 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009227/0.0009227, allocations: 114.4 kB / 0.9267 GB, free: 13.93 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.607e-05/2.609e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.237/0.2371, allocations: 142.3 MB / 1.212 GB, free: 38.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8448/1.082, allocations: 159.6 MB / 1.368 GB, free: 18.95 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001888/1.082, allocations: 74.67 kB / 1.368 GB, free: 18.95 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1189/1.201, allocations: 34.22 MB / 1.402 GB, free: 23.16 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.874e-06/1.201, allocations: 0 / 1.402 GB, free: 23.16 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0001314/1.201, allocations: 19.94 kB / 1.402 GB, free: 23.14 MB / 0.8386 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.002107/1.203, allocations: 0.9966 MB / 1.403 GB, free: 22.15 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/1.203, allocations: 8.031 kB / 1.403 GB, free: 22.14 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001107/1.204, allocations: 64.67 kB / 1.403 GB, free: 22.09 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000523/1.204, allocations: 110.7 kB / 1.403 GB, free: 21.98 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003777/1.208, allocations: 2.026 MB / 1.405 GB, free: 20.43 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.618e-05/1.208, allocations: 30.72 kB / 1.405 GB, free: 20.42 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001038/1.208, allocations: 58.22 kB / 1.405 GB, free: 20.38 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000684/1.209, allocations: 0.5248 MB / 1.406 GB, free: 19.93 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/1.209, allocations: 4 kB / 1.406 GB, free: 19.93 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.603e-05/1.209, allocations: 18.42 kB / 1.406 GB, free: 19.92 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.909e-06/1.209, allocations: 8 kB / 1.406 GB, free: 19.91 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004358/1.209, allocations: 325.6 kB / 1.406 GB, free: 19.68 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003428/1.213, allocations: 3.137 MB / 1.409 GB, free: 16.95 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001437/1.214, allocations: 0.6546 MB / 1.41 GB, free: 16.42 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000212/1.214, allocations: 190.2 kB / 1.41 GB, free: 16.29 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.002e-05/1.214, allocations: 11.94 kB / 1.41 GB, free: 16.28 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.961e-05/1.214, allocations: 41.23 kB / 1.41 GB, free: 16.23 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=26): time 2.174e-06/1.214, allocations: 0 / 1.41 GB, free: 16.23 MB / 0.8386 GB Notification: Performance of matching and sorting (n=26): time 0.0007948/1.215, allocations: 497.7 kB / 1.41 GB, free: 15.83 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.434e-05/1.215, allocations: 55.41 kB / 1.41 GB, free: 15.76 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001688/1.217, allocations: 1.257 MB / 1.412 GB, free: 14.8 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.435e-05/1.217, allocations: 39.02 kB / 1.412 GB, free: 14.77 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003546/1.217, allocations: 413.7 kB / 1.412 GB, free: 14.53 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002186/1.218, allocations: 111 kB / 1.412 GB, free: 14.44 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.705e-05/1.218, allocations: 14.25 kB / 1.412 GB, free: 14.43 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001478/1.218, allocations: 340.5 kB / 1.412 GB, free: 14.11 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003991/1.218, allocations: 276.7 kB / 1.413 GB, free: 13.91 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005904/1.219, allocations: 0.5674 MB / 1.413 GB, free: 13.28 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005048/1.219, allocations: 378.6 kB / 1.414 GB, free: 12.99 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.975e-06/1.219, allocations: 11.94 kB / 1.414 GB, free: 12.98 MB / 0.8386 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001998/1.221, allocations: 1.22 MB / 1.415 GB, free: 11.98 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.601e-05/1.221, allocations: 12 kB / 1.415 GB, free: 11.97 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.669e-05/1.221, allocations: 8 kB / 1.415 GB, free: 11.96 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001243/1.223, allocations: 453.2 kB / 1.415 GB, free: 11.59 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003192/1.223, allocations: 111.3 kB / 1.415 GB, free: 11.49 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006146/1.229, allocations: 4.837 MB / 1.42 GB, free: 7.637 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002272/1.231, allocations: 437.1 kB / 1.421 GB, free: 7.219 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.595e-05/1.232, allocations: 35.5 kB / 1.421 GB, free: 7.188 MB / 0.8386 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.0002074/1.232, allocations: 151.4 kB / 1.421 GB, free: 7.051 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003101/1.232, allocations: 90.78 kB / 1.421 GB, free: 6.961 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003431/1.232, allocations: 104.4 kB / 1.421 GB, free: 6.898 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/1.232, allocations: 4 kB / 1.421 GB, free: 6.895 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/1.232, allocations: 3.953 kB / 1.421 GB, free: 6.891 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/1.232, allocations: 0 / 1.421 GB, free: 6.891 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001613/1.234, allocations: 1.116 MB / 1.422 GB, free: 6.031 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/1.234, allocations: 4 kB / 1.422 GB, free: 6.027 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004548/1.235, allocations: 91.72 kB / 1.422 GB, free: 5.941 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002025/1.235, allocations: 40.7 kB / 1.422 GB, free: 5.906 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.547e-05/1.235, allocations: 19.73 kB / 1.422 GB, free: 5.891 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001212/1.236, allocations: 1.416 MB / 1.423 GB, free: 4.422 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/1.236, allocations: 3.953 kB / 1.424 GB, free: 4.418 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001156/1.237, allocations: 0.8032 MB / 1.424 GB, free: 3.758 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001012/1.238, allocations: 0.9535 MB / 1.425 GB, free: 2.746 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001951/1.238, allocations: 15.86 kB / 1.425 GB, free: 2.734 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001218/1.24, allocations: 207.4 kB / 1.425 GB, free: 2.535 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.87e-05/1.24, allocations: 23.89 kB / 1.425 GB, free: 2.516 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.846e-05/1.24, allocations: 8.188 kB / 1.425 GB, free: 2.508 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.001609/1.241, allocations: 0.9559 MB / 1.426 GB, free: 1.797 MB / 0.8386 GB Notification: Performance of sort global known variables: time 3.01e-07/1.241, allocations: 3.938 kB / 1.426 GB, free: 1.793 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001657/1.243, allocations: 0.5809 MB / 1.427 GB, free: 1.23 MB / 0.8386 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.001775/1.245, allocations: 1.477 MB / 1.428 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001763/1.247, allocations: 0.9006 MB / 1.429 GB, free: 15.17 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/1.247, allocations: 0 / 1.429 GB, free: 15.17 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0004158/1.247, allocations: 326.6 kB / 1.43 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001256/1.248, allocations: 267.1 kB / 1.43 GB, free: 14.69 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004152/1.253, allocations: 2.253 MB / 1.432 GB, free: 12.62 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008688/1.253, allocations: 1.163 MB / 1.433 GB, free: 11.49 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0006807/1.254, allocations: 262.8 kB / 1.433 GB, free: 11.23 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004401/1.255, allocations: 309.9 kB / 1.434 GB, free: 11.16 MB / 0.8542 GB Notification: Performance of SimCode: time 8.31e-07/1.255, allocations: 0 / 1.434 GB, free: 11.16 MB / 0.8542 GB Error: Template error: A template call failed (/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so: (null)). One possible reason could be that a template imported function call failed (which should not happen for functions called from within template code; templates assert pure 'match'/non-failing semantics).