Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.8/2.8, allocations: 287.3 MB / 302.3 MB, free: 8.211 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001542/0.001543, allocations: 183.2 kB / 370.8 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.164/2.164, allocations: 205.4 MB / 0.6295 GB, free: 10.64 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001205/0.001205, allocations: 91.94 kB / 0.7428 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006863/0.0006864, allocations: 12.8 kB / 0.8657 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2586/0.2594, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.005508/0.2649, allocations: 3.407 MB / 0.9816 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.9317/1.197, allocations: 127.2 MB / 1.106 GB, free: 1.707 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008963/1.198, allocations: 17.12 kB / 1.106 GB, free: 1.699 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.000416/1.198, allocations: 62.78 kB / 1.106 GB, free: 1.668 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.002329/1.201, allocations: 412.5 kB / 1.106 GB, free: 1.637 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002907/1.203, allocations: 0.5808 MB / 1.107 GB, free: 1.609 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002249/1.206, allocations: 0.7185 MB / 1.108 GB, free: 1.566 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001129/1.207, allocations: 439.8 kB / 1.108 GB, free: 1.5 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009792/1.208, allocations: 287.4 kB / 1.108 GB, free: 1.434 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006359/1.209, allocations: 275 kB / 1.108 GB, free: 1.355 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001418/1.209, allocations: 21.77 kB / 1.109 GB, free: 1.355 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001127/1.21, allocations: 246.9 kB / 1.109 GB, free: 1.352 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002822/1.21, allocations: 156.8 kB / 1.109 GB, free: 1.32 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0003449/1.211, allocations: 170.3 kB / 1.109 GB, free: 17.26 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002397/1.213, allocations: 1 MB / 1.11 GB, free: 17.18 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/1.213, allocations: 0 / 1.11 GB, free: 17.18 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.566e-06/1.213, allocations: 1.125 kB / 1.11 GB, free: 17.18 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.704e-05/1.213, allocations: 0 / 1.11 GB, free: 17.18 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.003674/1.217, allocations: 1.092 MB / 1.111 GB, free: 16.48 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.079e-05/1.217, allocations: 9.594 kB / 1.111 GB, free: 16.48 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004475/1.217, allocations: 126.8 kB / 1.111 GB, free: 16.43 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001568/1.219, allocations: 187.5 kB / 1.111 GB, free: 16.38 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00213/1.221, allocations: 0.6667 MB / 1.112 GB, free: 16.08 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.388e-05/1.221, allocations: 60.44 kB / 1.112 GB, free: 16.07 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001856/1.221, allocations: 75.77 kB / 1.112 GB, free: 16.07 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002615/1.224, allocations: 0.8155 MB / 1.113 GB, free: 15.92 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.194e-05/1.224, allocations: 1.344 kB / 1.113 GB, free: 15.92 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001372/1.224, allocations: 35.64 kB / 1.113 GB, free: 15.92 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.218e-05/1.224, allocations: 22.39 kB / 1.113 GB, free: 15.91 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003189/1.227, allocations: 1.042 MB / 1.114 GB, free: 15.9 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00692/1.234, allocations: 2.33 MB / 1.116 GB, free: 15.11 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002267/1.237, allocations: 0.7845 MB / 1.117 GB, free: 14.97 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000119/1.237, allocations: 29.36 kB / 1.117 GB, free: 14.97 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001168/1.238, allocations: 420 kB / 1.118 GB, free: 14.89 MB / 0.698 GB Notification: Performance of pre-optimization done (n=70): time 3.727e-06/1.238, allocations: 0 / 1.118 GB, free: 14.89 MB / 0.698 GB Notification: Performance of matching and sorting (n=70): time 0.005092/1.243, allocations: 1.052 MB / 1.119 GB, free: 14.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001704/1.243, allocations: 203 kB / 1.119 GB, free: 14.46 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001199/1.245, allocations: 0.5491 MB / 1.119 GB, free: 14.35 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002533/1.245, allocations: 36.77 kB / 1.119 GB, free: 14.32 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004097/1.245, allocations: 370.3 kB / 1.12 GB, free: 14.14 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003315/1.246, allocations: 230.8 kB / 1.12 GB, free: 14 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.653e-05/1.246, allocations: 13.44 kB / 1.12 GB, free: 14 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002087/1.246, allocations: 374.2 kB / 1.12 GB, free: 13.68 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007787/1.247, allocations: 215.1 kB / 1.12 GB, free: 13.68 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008519/1.248, allocations: 307.8 kB / 1.121 GB, free: 13.6 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008111/1.248, allocations: 261.5 kB / 1.121 GB, free: 13.58 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.6e-06/1.248, allocations: 0 / 1.121 GB, free: 13.58 MB / 0.698 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.003117/1.252, allocations: 0.6982 MB / 1.122 GB, free: 13.48 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.629e-05/1.252, allocations: 8.719 kB / 1.122 GB, free: 13.48 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.584e-05/1.252, allocations: 4.797 kB / 1.122 GB, free: 13.48 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001053/1.253, allocations: 83.91 kB / 1.122 GB, free: 13.46 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001295/1.254, allocations: 133 kB / 1.122 GB, free: 13.46 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003189/1.257, allocations: 1.534 MB / 1.123 GB, free: 12.15 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001247/1.259, allocations: 78.62 kB / 1.123 GB, free: 12.13 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.886e-05/1.259, allocations: 26.23 kB / 1.124 GB, free: 12.13 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 72 * 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.000727/1.259, allocations: 252.4 kB / 1.124 GB, free: 12 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002353/1.26, allocations: 83.62 kB / 1.124 GB, free: 11.96 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003687/1.263, allocations: 0.966 MB / 1.125 GB, free: 11.82 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.681e-05/1.263, allocations: 11 kB / 1.125 GB, free: 11.82 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/1.264, allocations: 0 / 1.125 GB, free: 11.82 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.461e-05/1.264, allocations: 4.359 kB / 1.125 GB, free: 11.82 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005213/1.269, allocations: 1.79 MB / 1.127 GB, free: 11.45 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.937e-06/1.269, allocations: 0 / 1.127 GB, free: 11.45 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001104/1.27, allocations: 144.1 kB / 1.127 GB, free: 11.44 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008686/1.271, allocations: 84.83 kB / 1.127 GB, free: 11.43 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001005/1.271, allocations: 25.7 kB / 1.127 GB, free: 11.42 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002896/1.274, allocations: 1.552 MB / 1.128 GB, free: 10.12 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/1.274, allocations: 2.906 kB / 1.128 GB, free: 10.12 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003264/1.277, allocations: 0.8914 MB / 1.129 GB, free: 9.898 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007572/1.278, allocations: 260.6 kB / 1.129 GB, free: 9.754 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001736/1.278, allocations: 19.3 kB / 1.129 GB, free: 9.754 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001049/1.279, allocations: 65.27 kB / 1.13 GB, free: 9.75 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002261/1.279, allocations: 56.94 kB / 1.13 GB, free: 9.75 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001067/1.28, allocations: 30.14 kB / 1.13 GB, free: 9.75 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0009079/1.281, allocations: 403 kB / 1.13 GB, free: 9.664 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.21e-07/1.281, allocations: 0 / 1.13 GB, free: 9.664 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001605/1.282, allocations: 252.8 kB / 1.13 GB, free: 9.621 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 78 * 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.005811/1.288, allocations: 1.891 MB / 1.132 GB, free: 8.742 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002905/1.291, allocations: 0.7051 MB / 1.133 GB, free: 8.555 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.718e-06/1.291, allocations: 1.031 kB / 1.133 GB, free: 8.555 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001545/1.293, allocations: 478.8 kB / 1.133 GB, free: 8.371 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002194/1.295, allocations: 238.5 kB / 1.133 GB, free: 8.289 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0173/1.312, allocations: 4.91 MB / 1.138 GB, free: 5.875 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009482/1.313, allocations: 1.001 MB / 1.139 GB, free: 5.043 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001699/1.315, allocations: 251.8 kB / 1.139 GB, free: 4.918 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008469/1.316, allocations: 336 kB / 1.14 GB, free: 4.875 MB / 0.698 GB Notification: Performance of SimCode: time 1.473e-06/1.316, allocations: 0 / 1.14 GB, free: 4.875 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07978/1.396, allocations: 18.92 MB / 1.158 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005351/1.396, allocations: 286.3 kB / 1.159 GB, free: 11.46 MB / 0.7136 GB Error: Error building simulator. Build log: clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/C-Sources" -c -o Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.o Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.c In file included from Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.c:7: In file included from ./Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/C-Sources" -c -o Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_functions.o Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_functions.c In file included from Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_functions.c:2: In file included from ./Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_functions.c:7: In file included from ./Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/C-Sources/getTimeSpan.c:6:10: fatal error: 'ModelicaUtilities.h' file not found #include ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. : recipe for target 'Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_functions.o' failed make: *** [Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_functions.o] Error 1